Skip to content

Commit

Permalink
docs(migrations): fix config.json example (#8986)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkautto authored and sushantdhiman committed Feb 2, 2018
1 parent ef0b537 commit 7542b7e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docs/migrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,26 @@ Before continuing further we will need to tell CLI how to connect to database. T

```json
{
development: {
username: 'root',
password: null,
database: 'database_development',
host: '127.0.0.1',
dialect: 'mysql'
"development": {
"username": "root",
"password": null,
"database": "database_development",
"host": "127.0.0.1",
"dialect": "mysql"
},
test: {
username: 'root',
password: null,
database: 'database_test',
host: '127.0.0.1',
dialect: 'mysql'
"test": {
"username": "root",
"password": null,
"database": "database_test",
"host": "127.0.0.1",
"dialect": "mysql"
},
production: {
username: process.env.PROD_DB_USERNAME,
password: process.env.PROD_DB_PASSWORD,
database: process.env.PROD_DB_NAME,
host: process.env.PROD_DB_HOSTNAME,
dialect: 'mysql'
"production": {
"username": "root",
"password": null,
"database": "database_test",
"host": "127.0.0.1",
"dialect": "mysql"
}
}
```
Expand Down

0 comments on commit 7542b7e

Please sign in to comment.