Update migration file to use bulkCreate

This commit is contained in:
advplyr 2023-03-17 18:04:39 -05:00
parent 8287822354
commit b8de041497
2 changed files with 85 additions and 45 deletions

View file

@ -26,7 +26,8 @@ class Database {
Logger.info(`[Database] Initializing db at "${dbPath}"`)
this.sequelize = new Sequelize({
dialect: 'sqlite',
storage: dbPath
storage: dbPath,
logging: false
})
try {