From 0aa913164211b6cd0ad65b3b546e49edaa0bcc30 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Wed, 10 Dec 2025 18:24:26 -0500 Subject: [PATCH] fix(migrate): include backup path in rollback command --- src/commands/migrate-command.ts | 2 +- src/config/migration-manager.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/migrate-command.ts b/src/commands/migrate-command.ts index ff5e8515..aac190fc 100644 --- a/src/commands/migrate-command.ts +++ b/src/commands/migrate-command.ts @@ -87,7 +87,7 @@ export async function handleMigrateCommand(args: string[]): Promise { 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 { diff --git a/src/config/migration-manager.ts b/src/config/migration-manager.ts index 39622fd3..88344006 100644 --- a/src/config/migration-manager.ts +++ b/src/config/migration-manager.ts @@ -353,7 +353,7 @@ export async function autoMigrate(): Promise { console.log(` [!] ${warning}`); } } - console.log(' Rollback: ccs migrate --rollback'); + console.log(` Rollback: ccs migrate --rollback ${result.backupPath}`); console.log(''); } else { console.log('');