Skip to content

Instantly share code, notes, and snippets.

@TheNaoX
Created November 6, 2015 19:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TheNaoX/506cf39269fd35b1d2ac to your computer and use it in GitHub Desktop.
Save TheNaoX/506cf39269fd35b1d2ac to your computer and use it in GitHub Desktop.
// Update with your config settings.
module.exports = {
development: {
client: 'postgresql',
connection: {
database: 'db_name',
charset: 'utf8'
},
pool: {
min: 2,
max: 10
},
migrations: {
directory: '../db/migrations',
tableName: 'knex_migrations'
}
},
production: {
client: 'postgresql',
connection: process.env.DATABASE_URL,
pool: {
min: 2,
max: 10
},
migrations: {
directory: '../db/migrations',
tableName: 'knex_migrations'
}
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment