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
No known key found for this signature in database
GPG Key ID: 87B9B6BD04EB7534

View File

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