Reinitialized commit. Update and actors overview with some filters.
This commit is contained in:
11
src/knex.js
Executable file
11
src/knex.js
Executable file
@@ -0,0 +1,11 @@
|
||||
import config from 'config';
|
||||
import knex from 'knex';
|
||||
|
||||
export default knex({
|
||||
client: 'pg',
|
||||
connection: config.database.owner,
|
||||
pool: config.database.pool,
|
||||
// performance overhead, don't use asyncStackTraces in production
|
||||
asyncStackTraces: process.env.NODE_ENV === 'development',
|
||||
// debug: process.env.NODE_ENV === 'development',
|
||||
});
|
||||
Reference in New Issue
Block a user