feat(cli): implement the "list" command for listing migration history and pending migrations
This commit is contained in:
parent
e79dd4bca9
commit
53cdb23237
8 changed files with 199 additions and 38 deletions
|
|
@ -46,7 +46,7 @@ export class MigrationHistoryError extends EmigrateError {
|
|||
message: string,
|
||||
public entry: MigrationHistoryEntry,
|
||||
) {
|
||||
super('ERR_MIGRATION_HISTORY', message);
|
||||
super('ERR_MIGRATION_HISTORY', message, { cause: entry.error });
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue