diff options
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', + }, + }, +}; |
