Started work on legacy account migration.
This commit is contained in:
parent
4698ba4122
commit
9fda308306
5 changed files with 201 additions and 1 deletions
|
|
@ -43,6 +43,7 @@ const statModel = require('./schemas/statSchema');
|
|||
const flairModel = require('./schemas/flairSchema');
|
||||
const emoteModel = require('./schemas/emoteSchema');
|
||||
const tokeCommandModel = require('./schemas/tokebot/tokeCommandSchema');
|
||||
const migrationModel = require('./schemas/user/migrationSchema');
|
||||
//Controller
|
||||
const fileNotFoundController = require('./controllers/404Controller');
|
||||
//Router
|
||||
|
|
@ -192,6 +193,9 @@ emoteModel.loadDefaults();
|
|||
//Load default toke commands
|
||||
tokeCommandModel.loadDefaults();
|
||||
|
||||
//Run legacy migration
|
||||
migrationModel.ingestLegacyDump();
|
||||
|
||||
//Kick off scheduled-jobs
|
||||
scheduler.kickoff();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue