Skip to content
Permalink
Browse files

Fix databases config

  • Loading branch information...
nlaz committed Mar 1, 2019
1 parent 6cbb0d3 commit bcafc661dabf835109b5e87214225a21eb3acb55
Showing with 4 additions and 1 deletion.
  1. +1 −1 app/models/user.js
  2. +3 −0 config/databases.json
@@ -1,4 +1,4 @@
const GitHub = require("../services/GitHub");
const GitHub = require("../services/github");

module.exports = (sequelize, DataTypes) => {
const User = sequelize.define(
@@ -10,5 +10,8 @@
"host": "127.0.0.1",
"port": 5432,
"dialect": "postgres"
},
"production": {
"use_env_variable": "DATABASE_URL"
}
}

0 comments on commit bcafc66

Please sign in to comment.
You can’t perform that action at this time.