diff --git a/express/migrate.ts b/express/migrate.ts index 5d20333..1d32d07 100644 --- a/express/migrate.ts +++ b/express/migrate.ts @@ -12,7 +12,7 @@ async function main(): Promise { await migrate(); break; - case "status": + case "status": { const status = await migrationStatus(); console.log("Applied migrations:"); for (const name of status.applied) { @@ -27,6 +27,7 @@ async function main(): Promise { console.log("\nNo pending migrations"); } break; + } default: console.error(`Unknown command: ${command}`);