Skip to content

Commit

Permalink
Update cli.md
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-digital-innovation committed Jan 31, 2024
1 parent 47a29bd commit 0b16ee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ You can adjust defaults by passing arguments to `node-pg-migrate`:
- `create-migrations-schema` - Create the configured migrations schema if it doesn't exist (defaults to `false`)
- `migrations-table` (`t`) - The table storing which migrations have been run (defaults to `pgmigrations`)
- `ignore-pattern` - Regex pattern for file names to ignore (e.g. `ignore_file|\..*|.*\.spec\.js`)
- `migration-filename-format` - Choose prefix of file - either `utc` (`20200605075829074`) or timestamp (`1591343909074`)
- `migration-filename-format` - Choose prefix of file - either `utc` (`20200605075829074`) or `timestamp` (`1591343909074`)
- `migration-file-language` (`j`) - Language of the migration file to create (`js`, `ts` or `sql`)
- `template-file-name` - Use your own template file for migrations (language will be determined from the extension of the template). The file must export the `up` method accepting `MigrationBuilder` instance.
- `tsconfig` - Path to tsconfig.json. Used to setup transpiling of TS migration files. (Also sets `migration-file-language` to typescript, if not overridden)
Expand Down

0 comments on commit 0b16ee3

Please sign in to comment.