Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ function createProgram() {
.addOption(new Option('--skip-seed', 'skip seeding the database after reset'))
.addOption(noVersionCheckOption)
.description('Reset your database and apply all migrations, all data will be lost')
.addHelpText(
'after',
'\nIf there is a seed script defined in package.json, it will be run after the reset. Use --skip-seed to skip it.',
)
.action((options) => migrateAction('reset', options));

migrateCommand
Expand Down
Loading