Skip to content

Commit

Permalink
fix(migrate diff): improve help output alignment (#12135)
Browse files Browse the repository at this point in the history
  • Loading branch information
do4gr committed Mar 3, 2022
1 parent 4f64461 commit 5f14338
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/migrate/src/commands/MigrateDiff.ts
Expand Up @@ -17,24 +17,24 @@ ${chalk.dim('$')} prisma migrate diff --preview-feature [options]
${chalk.bold('Options')}
-h, --help Display this help message
-h, --help Display this help message
${chalk.italic('From and To inputs (1 `--from-...` and 1 `--to-...` must be provided):')}
--from-url / --to-url A datasource URL
--from-empty / --to-empty Flag to assume from or to is an empty datamodel
--from-schema-datamodel / --to-schema-datamodel Path to a Prisma schema file, uses the datamodel for the diff
--from-url / --to-url A datasource URL
--from-empty / --to-empty Flag to assume from or to is an empty datamodel
--from-schema-datamodel / --to-schema-datamodel Path to a Prisma schema file, uses the datamodel for the diff
--from-schema-datasource / --to-schema-datasource Path to a Prisma schema file, uses the datasource url for the diff
--from-migrations / --to-migrations Path to the Prisma Migrate migrations directory
--from-migrations / --to-migrations Path to the Prisma Migrate migrations directory
${chalk.italic('Shadow database (only required if using --from-migrations or --to-migrations):')}
--shadow-database-url URL for the shadow database
--shadow-database-url URL for the shadow database
${chalk.italic('Output format:')}
--script Render a SQL script to stdout instead of the default human readable summary (not supported on MongoDB)
--script Render a SQL script to stdout instead of the default human readable summary (not supported on MongoDB)
${chalk.bold('Flag')}
--preview-feature Run Preview Prisma commands`,
--preview-feature Run Preview Prisma commands`,
)

export class MigrateDiff implements Command {
Expand Down

0 comments on commit 5f14338

Please sign in to comment.