Skip to content

Commit

Permalink
chore: fix IMigrator.createMigration() params
Browse files Browse the repository at this point in the history
  • Loading branch information
B4nan committed Oct 20, 2020
1 parent 69bf0fe commit e16954c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/typings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ type MigrationResult = { fileName: string; code: string; diff: string[] };
type MigrationRow = { name: string; executed_at: Date };

export interface IMigrator {
createMigration(path?: string, blank?: boolean): Promise<MigrationResult>;
createMigration(path?: string, blank?: boolean, initial?: boolean): Promise<MigrationResult>;
getExecutedMigrations(): Promise<MigrationRow[]>;
getPendingMigrations(): Promise<UmzugMigration[]>;
up(options?: string | string[] | MigrateOptions): Promise<UmzugMigration[]>;
Expand Down

0 comments on commit e16954c

Please sign in to comment.