fix(migrate): include backup path in rollback command

This commit is contained in:
kaitranntt
2025-12-10 18:24:26 -05:00
parent c09cc35352
commit 0aa9131642
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ export async function handleMigrateCommand(args: string[]): Promise<void> {
if (dryRun) {
console.log(' Run without --dry-run to apply changes');
} else {
console.log(' Rollback: ccs migrate --rollback');
console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`);
}
console.log('');
} else {
+1 -1
View File
@@ -353,7 +353,7 @@ export async function autoMigrate(): Promise<void> {
console.log(` [!] ${warning}`);
}
}
console.log(' Rollback: ccs migrate --rollback');
console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`);
console.log('');
} else {
console.log('');