mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 10:16:49 +00:00
fix(migrate): include backup path in rollback command
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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('');
|
||||
|
||||
Reference in New Issue
Block a user