Migration test force re-create tables

This commit is contained in:
advplyr 2023-03-15 17:50:47 -05:00
parent c738e35a8c
commit 0f83a292f6
3 changed files with 9 additions and 5 deletions

View file

@ -80,7 +80,7 @@ class Database {
require('./models/Notification')(this.sequelize)
require('./models/UserPermission')(this.sequelize)
return this.sequelize.sync({ force: false })
return this.sequelize.sync({ force: true })
}
async createTestUser() {