no more sync

This commit is contained in:
counterweight 2025-03-09 16:49:20 +01:00
parent e718626aad
commit bb68c0585a
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C

View file

@ -13,7 +13,7 @@ function buildDependencies() {
const AssociationsDefiner = require('./associations');
new AssociationsDefiner({ models, DataTypes }).define();
sequelize
/* sequelize
.sync({ alter: true })
.then(() => {
console.log('Database synced');
@ -21,7 +21,7 @@ function buildDependencies() {
.catch((err) => {
console.error('Error syncing the database:', err);
});
*/
const ServicesProvider = require('./services');
const services = new ServicesProvider({
models,