mirror of
https://github.com/pawelmalak/flame.git
synced 2026-03-06 20:43:13 +08:00
Added ability to set icons on bookmarks. Added hover indicator for apps
This commit is contained in:
7
db.js
7
db.js
@@ -8,13 +8,10 @@ const sequelize = new Sequelize({
|
||||
|
||||
const connectDB = async () => {
|
||||
try {
|
||||
await sequelize.authenticate({ logging: false });
|
||||
await sequelize.authenticate();
|
||||
console.log('Connected to database');
|
||||
|
||||
await sequelize.sync({
|
||||
// alter: true,
|
||||
logging: false
|
||||
});
|
||||
await sequelize.sync({ alter: true });
|
||||
console.log('All models were synced');
|
||||
} catch (error) {
|
||||
console.error('Unable to connect to the database:', error);
|
||||
|
||||
Reference in New Issue
Block a user