diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-09-23 18:56:24 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-09-23 18:56:24 -0400 |
| commit | 61ac79328fdfbc3b91c70052ec14ffada33b7779 (patch) | |
| tree | 7dd54119c8ba4080cf601583accd34f3d410907e /knexfile.js | |
| parent | ce9271b80bd577b912b7b1bd8fb65eb83e564987 (diff) | |
css and html from original site
Diffstat (limited to 'knexfile.js')
| -rw-r--r-- | knexfile.js | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/knexfile.js b/knexfile.js new file mode 100644 index 0000000..1e7b5e9 --- /dev/null +++ b/knexfile.js @@ -0,0 +1,56 @@ +// Update with your config settings. + +require('dotenv').load() + +module.exports = { + + development: { + client: 'mysql2', + connection: { + database: process.env.DB_NAME, + user: process.env.DB_USER, + password: process.env.DB_PASS + }, + pool: { + min: 2, + max: 10 + }, + migrations: { + tableName: 'knex_migrations' + } + }, + + staging: { + client: 'mysql2', + connection: { + database: process.env.DB_NAME, + user: process.env.DB_USER, + password: process.env.DB_PASS + }, + pool: { + min: 2, + max: 10 + }, + migrations: { + tableName: 'knex_migrations' + } + }, + + production: { + client: 'mysql2', + connection: { + database: process.env.DB_NAME, + user: process.env.DB_USER, + password: process.env.DB_PASS + }, + pool: { + min: 2, + max: 10 + }, + migrations: { + tableName: 'knex_migrations' + } + } + +}; + |
