mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 06:10:31 +00:00
WIP Multi-tenant architecture.
This commit is contained in:
20
server/config/systemKnexfile.js
Normal file
20
server/config/systemKnexfile.js
Normal file
@@ -0,0 +1,20 @@
|
||||
const config = require('./config');
|
||||
|
||||
const configEnv = {
|
||||
client: config.system.db_client,
|
||||
connection: {
|
||||
host: config.system.db_host,
|
||||
user: config.system.db_user,
|
||||
password: config.system.db_password,
|
||||
database: config.system.db_name,
|
||||
charset: 'utf8',
|
||||
},
|
||||
migrations: {
|
||||
directory: config.system.migrations_dir,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = {
|
||||
development: configEnv,
|
||||
production: configEnv,
|
||||
};
|
||||
Reference in New Issue
Block a user