Skip to content

Commit

Permalink
feat: update config.
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanLiu2968 committed Jun 23, 2021
1 parent 96f362d commit d1439ee
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions config/config.default.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ module.exports = appInfo => {
database: 'egg-crud',
host: '127.0.0.1',
port: 3306,
username: 'root',
password: 'root',
username: 'egg-crud',
password: 'egg-crud',
define: {
timestamps: false, // 自动维护时间戳
underscored: true, // 是否不转换为驼峰式,仅用于create_at update_at字段
Expand Down
12 changes: 6 additions & 6 deletions database/config.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
{
"development": {
"username": "root",
"password": "root",
"username": "egg-crud",
"password": "egg-crud",
"database": "egg-crud",
"host": "127.0.0.1",
"dialect": "mysql"
},
"test": {
"username": "root",
"password": "root",
"username": "egg-crud",
"password": "egg-crud",
"database": "egg-crud",
"host": "127.0.0.1",
"dialect": "mysql",
"operatorsAliases": false
},
"production": {
"username": "root",
"password": "root",
"username": "egg-crud",
"password": "egg-crud",
"database": "egg-crud",
"host": "127.0.0.1",
"dialect": "mysql",
Expand Down

0 comments on commit d1439ee

Please sign in to comment.