fix(migrate): include backup path in rollback command

This commit is contained in:
kaitranntt committed 2025-12-10 18:24:26 -05:00
1 parent c09cc35352
commit 0aa9131642
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ export async function handleMigrateCommand(args: string[]): Promise<void> {
if (dryRun) { if (dryRun) {
console.log(' Run without --dry-run to apply changes'); console.log(' Run without --dry-run to apply changes');
} else { } else {
console.log(' Rollback: ccs migrate --rollback'); console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`);
} }
console.log(''); console.log('');
} else { } else {
+1 -1
View File
@@ -353,7 +353,7 @@ export async function autoMigrate(): Promise<void> {
console.log(` [!] ${warning}`); console.log(` [!] ${warning}`);
} }
} }
console.log(' Rollback: ccs migrate --rollback'); console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`);
console.log(''); console.log('');
} else { } else {
console.log(''); console.log('');