chore: lint

This commit is contained in:
karishmas6
2024-09-24 18:00:38 +05:30
parent f671014444
commit 6c06cbf1d3

View File

@@ -25,12 +25,12 @@ export const connectDB = async () => {
export const syncDB = async () => {
try {
await sequelize.sync({ force: false }); // force: true will drop and recreate tables on every run
console.log('Database synced successfully!');
await sequelize.sync({ force: false }); // force: true will drop and recreate tables on every run
console.log('Database synced successfully!');
} catch (error) {
console.error('Failed to sync database:', error);
console.error('Failed to sync database:', error);
}
};
};
export default sequelize;