graphql-engine/community/boilerplates/auth-webhooks/passport-js/knexfile.js
2018-09-26 17:57:59 +05:30

15 lines
337 B
JavaScript

// Update with your config settings.
const databaseName = "postgres";
const pg = require('pg');
const connection_url = process.env.DATABASE_URL || `postgres://postgres:@localhost:5432/${databaseName}`;
module.exports = {
client: 'pg',
connection: connection_url,
migrations: {
directory: __dirname + '/db/migrations'
}
};