fix: disable altering tables when syncing tables

This commit is contained in:
Isaac
2021-09-25 23:36:58 +01:00
parent 1da289185b
commit 17f3b601bd

View File

@@ -67,7 +67,7 @@ module.exports = async client => {
require(`./models/${model}`)(client, sequelize); require(`./models/${model}`)(client, sequelize);
} }
await sequelize.sync({ alter: true }); await sequelize.sync({ alter: false });
return sequelize; return sequelize;
}; };