npm install -g sequelize-cli To update the database after updating the app from git (on the command line in the webapp base directory): sequelize db:migrate To undo the last migrations: sequelize db:migrate:undo
14 lines
248 B
JavaScript
14 lines
248 B
JavaScript
module.exports = {
|
|
|
|
'url' : 'postgres://PetitTeton:1qaz2wsx@localhost:5432/PetitTeton'
|
|
/*
|
|
"development": {
|
|
"url": "xxxxxxxxxxxxxxxx",
|
|
"dialect": "mysql"
|
|
},
|
|
"production": {
|
|
"url": "xxxxxxxxxxxxxxxx",
|
|
"dialect": "postgres"
|
|
}
|
|
*/
|
|
}; |