forked from PluralFlux/PluralFlux
removed force:true from sequelize so that db saves
This commit is contained in:
@@ -48,7 +48,7 @@ database.check_connection = async function() {
|
||||
}
|
||||
|
||||
async function syncModels() {
|
||||
await sequelize.sync({force:true}).then((result) => {
|
||||
await sequelize.sync().then((result) => {
|
||||
console.log('Models synced successfully.');
|
||||
}).catch((err) => {
|
||||
console.error('Syncing models did not work', err);
|
||||
|
||||
Reference in New Issue
Block a user