You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/cli.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ You can adjust defaults by passing arguments to `node-pg-migrate`:
93
93
|`create-migrations-schema`||`false`| Create the configured migrations schema if it doesn't exist |
94
94
|`migrations-table`|`t`|`pgmigrations`| The table storing which migrations have been run |
95
95
|`ignore-pattern`||`undefined`| Regex pattern for file names to ignore (ignores files starting with `.` by default). Alternatively, provide a [glob](https://www.npmjs.com/package/glob) pattern and set `--use-glob`. Note: enabling glob will read both, `--migrations-dir`_and_`--ignore-pattern` as glob patterns |
96
-
|`migration-filename-format`||`timestamp`| Choose prefix of file, `utc` (`20200605075829074`) or `timestamp` (`1591343909074`)|
96
+
|`migration-filename-format`||`timestamp`| Choose prefix of file, `utc` (`20200605075829074`), `timestamp` (`1591343909074`), or `index` (`0012`)|
97
97
|`migration-file-language`|`j`|`js`| Language of the migration file to create (`js`, `ts` or `sql`) |
98
98
|`template-file-name`||`undefined`| Utilize a custom migration template file with language inferred from its extension. The file should export the up method, accepting a MigrationBuilder instance. |
99
99
|`tsconfig`||`undefined`| Path to tsconfig.json. Used to setup transpiling of TS migration files. (Also sets `migration-file-language` to typescript, if not overridden) |
0 commit comments