不要怂,就是干,撸起袖子干!

Commit 7d251bd8 by Samuli Asmala Committed by Sushant

docs: .sequelizerc configuration options (#11553)

1 parent 3517eb7e
Showing with 12 additions and 1 deletions
...@@ -337,7 +337,18 @@ module.exports = { ...@@ -337,7 +337,18 @@ module.exports = {
### The `.sequelizerc` File ### The `.sequelizerc` File
This is a special configuration file. It lets you specify various options that you would usually pass as arguments to CLI. Some scenarios where you can use it. This is a special configuration file. It lets you specify following options that you would usually pass as arguments to CLI:
- `env`: The environment to run the command in
- `config`: The path to the config file
- `options-path`: The path to a JSON file with additional options
- `migrations-path`: The path to the migrations folder
- `seeders-path`: The path to the seeders folder
- `models-path`: The path to the models folder
- `url`: The database connection string to use. Alternative to using --config files
- `debug`: When available show various debug information
Some scenarios where you can use it.
- You want to override default path to `migrations`, `models`, `seeders` or `config` folder. - You want to override default path to `migrations`, `models`, `seeders` or `config` folder.
- You want to rename `config.json` to something else like `database.json` - You want to rename `config.json` to something else like `database.json`
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!