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