Skip to content

Commit f5c8831

Browse files
authored
chore(cli): improve help text of migrate reset (#433)
1 parent 3cf8168 commit f5c8831

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/cli/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ function createProgram() {
9494
.addOption(new Option('--skip-seed', 'skip seeding the database after reset'))
9595
.addOption(noVersionCheckOption)
9696
.description('Reset your database and apply all migrations, all data will be lost')
97+
.addHelpText(
98+
'after',
99+
'\nIf there is a seed script defined in package.json, it will be run after the reset. Use --skip-seed to skip it.',
100+
)
97101
.action((options) => migrateAction('reset', options));
98102

99103
migrateCommand

0 commit comments

Comments
 (0)