forked from spacebar/SplatNet-Backend
change judd DB to not recreate the DB (how was this left in to begin with?)
This commit is contained in:
parent
164584224b
commit
f15b3b432c
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ async function connect() {
|
|||
try {
|
||||
await sequelize.authenticate();
|
||||
console.log('PostgreSQL connected.');
|
||||
await sequelize.sync({ force: true });
|
||||
await sequelize.sync({ alter: true });
|
||||
console.log('PostgreSQL synchronized');
|
||||
} catch (error) {
|
||||
console.error('PostgreSQL connection error:', error);
|
||||
|
|
|
|||
Loading…
Reference in a new issue