-
-
Save stivncastillo/7a01105d1d1a32c02b50ea9fe75c36bc to your computer and use it in GitHub Desktop.
This file contains 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
module.exports = { | |
development: { | |
client: 'postgresql', | |
connection: { | |
port: process.env.DATABASE_PORT, | |
host: process.env.DATABASE_HOST, | |
database: process.env.DATABASE_NAME, | |
user: process.env.DATABASE_USER, | |
password: process.env.DATABASE_ACCESS_KEY, | |
}, | |
pool: { | |
min: process.env.DATABASE_POOL_MIN, | |
max: process.env.DATABASE_POOL_MAX, | |
}, | |
migrations: { | |
directory: './db/migrations', | |
tableName: 'knex_migrations', | |
}, | |
seeds: { | |
directory: './db/seeds', | |
}, | |
}, | |
staging: { ... }, | |
test: { ... }, | |
production: { ... }, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment