Skip to content

Commit

Permalink
fix(cli): make seed option optional
Browse files Browse the repository at this point in the history
Seed option when executing migration:fresh defaulted to empty string
and so it always tried to seed after migrating.
  • Loading branch information
Langstra committed Aug 23, 2021
1 parent 524735b commit c7c3c46
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/cli/src/commands/MigrationCommandFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@ export class MigrationCommandFactory {
args.option('seed', {
type: 'string',
desc: 'Allows to seed the database after dropping it and rerunning all migrations',
default: '',
});
}

Expand Down

0 comments on commit c7c3c46

Please sign in to comment.