mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-12 20:15:40 +00:00
fix(migrate): include backup path in rollback command
This commit is contained in:
1 parent
c09cc35352
commit
0aa9131642
2 files changed
+2
-2
No files matched your search
@@ -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 {
|
||||||
|
|||||||
@@ -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('');
|
||||||
|
|||||||
Reference in new issue
Block a user