feat(cli): improve "up" command output and flow a lot
This commit is contained in:
parent
e5eec7cdf1
commit
59ec16b87b
14 changed files with 533 additions and 62 deletions
|
|
@ -121,9 +121,9 @@ export type MigrationMetadata = {
|
|||
*/
|
||||
cwd: string;
|
||||
/**
|
||||
* The extension of the migration file
|
||||
* The extension of the migration file, with a leading period
|
||||
*
|
||||
* @example js
|
||||
* @example .js
|
||||
*/
|
||||
extension: string;
|
||||
};
|
||||
|
|
@ -207,7 +207,7 @@ export type ReporterPlugin = Partial<{
|
|||
*
|
||||
* @param migration Information about the migration that was skipped.
|
||||
*/
|
||||
onMigrationSkip(migration: MigrationMetadata): Awaitable<void>;
|
||||
onMigrationSkip(migration: MigrationMetadataFinished): Awaitable<void>;
|
||||
/**
|
||||
* Called when the migration process has finished.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue