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
|
|
@ -2,7 +2,7 @@ export type Awaitable<T> = T | PromiseLike<T>;
|
|||
|
||||
export type StringOrModule<T> = string | T | (() => Awaitable<T>) | (() => Awaitable<{ default: T }>);
|
||||
|
||||
export type MigrationStatus = 'failed' | 'done';
|
||||
export type MigrationStatus = 'failed' | 'done' | 'pending';
|
||||
|
||||
export type MigrationHistoryEntry = {
|
||||
name: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue