remove sync alter true, add pending migration check

This commit is contained in:
jackiettran
2025-11-25 17:53:49 -05:00
parent 8fc269c62a
commit 9ec3e97d9e
3 changed files with 115 additions and 5 deletions

View File

@@ -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(`