diff options
| author | Jan Tuomi <jan.tuomi@eficode.com> | 2020-02-01 16:33:56 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan.tuomi@eficode.com> | 2020-02-01 16:33:56 +0200 |
| commit | a5ae2653d8ccdaf00270c0c8c8a30b88d7955114 (patch) | |
| tree | bd265901dbda512fb1f6d717beb545234468d7ec /backend/knexfile.js | |
| parent | fbf108595a00a7c9db5984158e4b02cc345b68d1 (diff) | |
Do stuff
Diffstat (limited to 'backend/knexfile.js')
| -rw-r--r-- | backend/knexfile.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/backend/knexfile.js b/backend/knexfile.js new file mode 100644 index 0000000..73d0a10 --- /dev/null +++ b/backend/knexfile.js @@ -0,0 +1,20 @@ +// Update with your config settings. + +module.exports = { + development: { + client: 'postgresql', + connection: { + host: process.env.DATABASE_HOST, + database: process.env.DATABASE_DB, + user: process.env.DATABASE_USER, + password: process.env.DATABASE_PASSWORD, + }, + pool: { + min: 2, + max: 10, + }, + migrations: { + tableName: 'knex_migrations', + }, + }, +}; |
