summaryrefslogtreecommitdiff
path: root/src/routers/vault/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/routers/vault/index.js')
-rw-r--r--src/routers/vault/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/routers/vault/index.js b/src/routers/vault/index.js
index c0bc788..c20e2d2 100644
--- a/src/routers/vault/index.js
+++ b/src/routers/vault/index.js
@@ -26,6 +26,8 @@ const models = {
"login",
"char",
"char_reservation",
+ "global_acc_reg_num_db",
+ "char_reg_num_db",
],
};
@@ -111,7 +113,6 @@ module.exports = exports = class Vault {
await this.sequelize.vault.sync({alter: {drop: false}}); // update SQL tables
- this.api.locals.sequelize = this.sequelize; // for access to sequelize.fn
console.info("Vault: database ready");
return Promise.resolve(true);