projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
renamed database schemaCheck method to initialize
[websub-hub]
/
src
/
db
/
postgres
/
index.js
diff --git
a/src/db/postgres/index.js
b/src/db/postgres/index.js
index f4f690a18e3a95d18bb55c3596d1a9c2d797fc66..d02d98165360f33819e220b195e3af0d18c26cd2 100644
(file)
--- 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();
}
this.logger.debug(_scope, 'called', { applyMigrations });
if (applyMigrations) {
await this._initTables();
}
- await super.
schemaCheck
();
+ await super.
initialize
();
}
}