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

Commit 398c1ce7 by Jonathan Chen Committed by Sushant

docs(migrate): update default migration config to use production defaults (#8680)

1 parent ba3231d5
Showing with 4 additions and 4 deletions
...@@ -47,10 +47,10 @@ Before continuing further we will need to tell CLI how to connect to database. T ...@@ -47,10 +47,10 @@ Before continuing further we will need to tell CLI how to connect to database. T
dialect: 'mysql' dialect: 'mysql'
}, },
production: { production: {
username: 'root', username: process.env.PROD_DB_USERNAME,
password: null, password: process.env.PROD_DB_PASSWORD,
database: 'database_production', database: process.env.PROD_DB_NAME,
host: '127.0.0.1', host: process.env.PROD_DB_HOSTNAME,
dialect: 'mysql' dialect: 'mysql'
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!