mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
WIP server side.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
require('dotenv').config();
|
||||
|
||||
const MIGRATIONS_DIR = `./${__dirname}/src/database/migrations`;
|
||||
const SEEDS_DIR = `./${__dirname}/src/database/seeds`;
|
||||
const MIGRATIONS_DIR = './src/database/migrations';
|
||||
const SEEDS_DIR = './src/database/seeds';
|
||||
|
||||
module.exports = {
|
||||
test: {
|
||||
@@ -9,10 +10,10 @@ module.exports = {
|
||||
directory: MIGRATIONS_DIR,
|
||||
},
|
||||
connection: {
|
||||
host: '172.17.0.2',
|
||||
user: 'root',
|
||||
password: 'root',
|
||||
database: 'moosher',
|
||||
host: process.env.DB_HOST,
|
||||
user: process.env.DB_USER,
|
||||
password: process.env.DB_PASSWORD,
|
||||
database: process.env.DB_NAME,
|
||||
charset: 'utf8',
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user