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

Commit c6fd201b by Jan Aagaard Meier

Merge pull request #1056 from pbjorklund/default_config

Default dialect in sequelize generatec config
2 parents 1766a8c6 2ba49910
Showing with 6 additions and 3 deletions
...@@ -34,19 +34,22 @@ var writeDefaultConfig = function(config) { ...@@ -34,19 +34,22 @@ var writeDefaultConfig = function(config) {
username: "root", username: "root",
password: null, password: null,
database: 'database_development', database: 'database_development',
host: '127.0.0.1' host: '127.0.0.1',
dialect: 'mysql'
}, },
test: { test: {
username: "root", username: "root",
password: null, password: null,
database: 'database_test', database: 'database_test',
host: '127.0.0.1' host: '127.0.0.1',
dialect: 'mysql'
}, },
production: { production: {
username: "root", username: "root",
password: null, password: null,
database: 'database_production', database: 'database_production',
host: '127.0.0.1' host: '127.0.0.1',
dialect: 'mysql'
} }
}, undefined, 2) + "\n" }, undefined, 2) + "\n"
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!