no more sync
This commit is contained in:
parent
e718626aad
commit
bb68c0585a
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue