Open kinsomicrote opened 7 years ago
@kinsomicrote -- I would recommend using the user.js file with a new databaseUrl config -- postgres://role:password@server:port/db
. Make sure your PG server is running and you have a role created with a password for the tables.
Example config/user.js
:
"use strict";
let config = {}
config.databaseUrl = "postgres://username:pasword@localhost:5432/todos"
module.exports = config
Next, run sequelize db:migrate
.
Hello,
When I run
sequelize db:migrate
I get the error below:How do I fix it? So far nothing on Google has worked.
Thanks.