add: update modal for entry seen

This commit is contained in:
X4Lo committed 2024-05-19 06:55:47 +01:00
1 parent d6c3a974a1
commit bffc1227c3
8 files changed
+208 -81

No files matched your search

+3 -3
View File
@@ -63,12 +63,12 @@ app.use(errorHandler);
app.use('/killer', killerRouter);
// Start the server
const doUpdate = false;
console.log(`Syncing database schema...`);
sequelize
// .sync({force: true}) // will drop all tables and recreate them.
// .sync({ alter: true }) // will attempt to automatically alter tables to fit the model definitions.
.sync()
.sync({ alter: doUpdate }) // will attempt to automatically alter tables to fit the model definitions.
// .sync()
.then((result) => {
console.log(`Database schema synced...`);
initializeData();