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 @@ -108,17 +108,19 @@ You can take a view over [here](https://github.com/dominictarr/rc#standards)
108
108
where to save those configs.
109
109
110
110
Most prominent locations are, the root directory where you currently execute
111
- db-migrate and your ` HOME ` directory. The file is always named .db-migraterc,
111
+ db-migrate and your ` HOME ` directory. The file is always named ` .db-migraterc ` ,
112
112
except for some examples you can find under the link above.
113
113
114
- An example .db-migraterc config file could look like this:
114
+ An example ` .db-migraterc ` config file could look like this:
115
115
116
116
``` json
117
117
{
118
118
"sql-file" : true ,
119
- "configFile" : " path/to/config/database.json"
119
+ "configFile" : " path/to/config/database.json" ,
120
+ "table" : " new_migration_table_name"
120
121
}
121
122
```
123
+ Use ` table ` property in ` .db-migraterc ` config file to change the default name of migrations table.
122
124
123
125
This would set activate the sql mode unless you would deactivate it in your
124
126
database.json again, which always has the highest priority.
You can’t perform that action at this time.
0 commit comments