Changed configuration parameters' names to match sequelize nomemclature

Fixed seed/initial_tasks data which created tasks in a non-sequential order (tested on Postgres)
Added production-like example configuration
This commit is contained in:
DC*
2014-08-08 00:47:38 -03:00
parent d33305986c
commit ebab3b60a8
5 changed files with 29 additions and 14 deletions
+1 -1
View File
@@ -2,6 +2,6 @@ var Sequelize = require('sequelize');
module.exports = {
configure: function(db) {
return new Sequelize(db.name, db.user, db.password, db.options);
return new Sequelize(db.database, db.username, db.password, db.options);
}
}