db-migrate / db-migrate/node-db-migrate

Db migrate not using configuration in config file

Open
#750 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.3k
Forks
361
PR merge metrics
No merged PRs in 30d

Description

please read the docs: https://db-migrate.readthedocs.io/en/latest/Getting%20Started/configuration/

_Originally posted by @wzrdtales in https://github.com/db-migrate/node-db-migrate/issues/749#issuecomment-920919061_

I followed the docs and this is my config file I'm using a database url

```
{
"development": {
"ENV": "DATABASE_DEV_URL",
"driver": "mysql",
"multipleStatements": true
},
"test": {
"ENV": "DATABASE_TEST_URL",
"driver": "mysql",
"multipleStatements": true
},
"production": {
"ENV": "DATABASE_URL",
"driver": "mysql",
"multipleStatements": true
},
"defaultEnv": {
"ENV": "NODE_ENV"
},
"sql-file": true
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.