X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Fdb%2Fpostgres%2Findex.js;h=d02d98165360f33819e220b195e3af0d18c26cd2;hb=4f64b8910e1295207a42c757cb81c9b0e9ee3be2;hp=f4f690a18e3a95d18bb55c3596d1a9c2d797fc66;hpb=6013420158d848f6411a7210585d107191fc5ee7;p=websub-hub diff --git a/src/db/postgres/index.js b/src/db/postgres/index.js index f4f690a..d02d981 100644 --- a/src/db/postgres/index.js +++ b/src/db/postgres/index.js @@ -100,13 +100,13 @@ class DatabasePostgres extends Database { } - async schemaCheck(applyMigrations = true) { - const _scope = _fileScope('schemaCheck'); + async initialize(applyMigrations = true) { + const _scope = _fileScope('initialize'); this.logger.debug(_scope, 'called', { applyMigrations }); if (applyMigrations) { await this._initTables(); } - await super.schemaCheck(); + await super.initialize(); }