File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -106,17 +106,19 @@ You can take a view over [here](https://github.com/dominictarr/rc#standards)
106106where to save those configs.
107107
108108Most prominent locations are, the root directory where you currently execute
109- db-migrate and your ` HOME ` directory. The file is always named .db-migraterc,
109+ db-migrate and your ` HOME ` directory. The file is always named ` .db-migraterc ` ,
110110except for some examples you can find under the link above.
111111
112- An example .db-migraterc config file could look like this:
112+ An example ` .db-migraterc ` config file could look like this:
113113
114114``` json
115115{
116116 "sql-file" : true ,
117- "configFile" : " path/to/config/database.json"
117+ "configFile" : " path/to/config/database.json" ,
118+ "table" : " new_migration_table_name"
118119}
119120```
121+ Use ` table ` property in ` .db-migraterc ` config file to change the default name of migrations table.
120122
121123This would set activate the sql mode unless you would deactivate it in your
122124database.json again, which always has the highest priority.
You can’t perform that action at this time.
0 commit comments