remove sync foreva
This commit is contained in:
parent
107edb70e7
commit
78509e657b
1 changed files with 0 additions and 9 deletions
|
|
@ -13,15 +13,6 @@ function buildDependencies() {
|
||||||
const AssociationsDefiner = require('./database/associations');
|
const AssociationsDefiner = require('./database/associations');
|
||||||
new AssociationsDefiner({ models, DataTypes }).define();
|
new AssociationsDefiner({ models, DataTypes }).define();
|
||||||
|
|
||||||
/* sequelize
|
|
||||||
.sync({ alter: true })
|
|
||||||
.then(() => {
|
|
||||||
console.log('Database synced');
|
|
||||||
})
|
|
||||||
.catch((err) => {
|
|
||||||
console.error('Error syncing the database:', err);
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
const ServicesProvider = require('./services');
|
const ServicesProvider = require('./services');
|
||||||
const services = new ServicesProvider({
|
const services = new ServicesProvider({
|
||||||
models,
|
models,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue