From e58197b91b477163e3b3414a0c239e483596e88e Mon Sep 17 00:00:00 2001 From: amhsirak Date: Wed, 22 Jan 2025 19:01:16 +0530 Subject: [PATCH] chore: format --- server/src/storage/db.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/storage/db.ts b/server/src/storage/db.ts index 40968df8..bc31439c 100644 --- a/server/src/storage/db.ts +++ b/server/src/storage/db.ts @@ -31,7 +31,10 @@ export const syncDB = async () => { //setupAssociations(); const isDevelopment = process.env.NODE_ENV === 'development'; // force: true will drop and recreate tables on every run - await sequelize.sync({ force: false, alter: true }); + await sequelize.sync({ + force: false, + alter: true + }); console.log('Database synced successfully!'); } catch (error) { console.error('Failed to sync database:', error);