mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-16 17:45:28 +10:00
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() {
|
async function syncModels() {
|
||||||
await sequelize.sync({force:true}).then((result) => {
|
await sequelize.sync().then((result) => {
|
||||||
console.log('Models synced successfully.');
|
console.log('Models synced successfully.');
|
||||||
}).catch((err) => {
|
}).catch((err) => {
|
||||||
console.error('Syncing models did not work', err);
|
console.error('Syncing models did not work', err);
|
||||||
|
|||||||
Reference in New Issue
Block a user