Created
November 6, 2015 19:41
-
-
Save TheNaoX/506cf39269fd35b1d2ac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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