Update 'src/config/postgres.js'

tungd0 1 year ago
parent f44d590b40
commit 65b85f1640
  1. 2
      src/config/postgres.js

@ -19,7 +19,7 @@ const app = {
this.sequelize.authenticate() this.sequelize.authenticate()
.then(() => { .then(() => {
console.log('Postgres connection established!'); console.log('Postgres connection established!');
if (env === '1') { if (env === 'development') {
this.sequelize.sync({ this.sequelize.sync({
alter: true, alter: true,
logging: true logging: true

Loading…
Cancel
Save