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()
.then(() => {
console.log('Postgres connection established!');
if (env === '1') {
if (env === 'development') {
this.sequelize.sync({
alter: true,
logging: true

Loading…
Cancel
Save