remove sync alter true, add pending migration check
This commit is contained in:
@@ -353,8 +353,8 @@ async function main() {
|
||||
const command = args[0];
|
||||
|
||||
try {
|
||||
// Sync database
|
||||
await sequelize.sync();
|
||||
// Verify database connection
|
||||
await sequelize.authenticate();
|
||||
|
||||
if (!command || command === "help") {
|
||||
console.log(`
|
||||
|
||||
Reference in New Issue
Block a user