making sure not cleaning tables

This commit is contained in:
Arjun Patel
2019-02-02 23:07:43 -08:00
parent 366a0bfe94
commit c4a91910b3
+1 -1
View File
@@ -37,7 +37,7 @@ db.sequelize
}); });
//force: true will drop the table if it already exists //force: true will drop the table if it already exists
const drop_tables = true; const drop_tables = false;
db.sequelize.sync({ force: drop_tables }).then(() => { db.sequelize.sync({ force: drop_tables }).then(() => {
console.log(`Drop and Resync with { force: ${drop_tables} }`); console.log(`Drop and Resync with { force: ${drop_tables} }`);
}); });