-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
38 lines (35 loc) · 972 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
'use strict';
const path = require('path');
const config = require(path.join(__dirname, 'utils', 'config.js')).database;
module.exports = {
development: {
username: config.username,
password: config.password,
database: config.database,
host: config.host,
dialect: config.dialect,
define: config.define,
dialectOptions: {"requestTimeout": 50000},
pool: {"max": 1, "idle": 50000},
},
test: {
username: config.username,
password: config.password,
database: config.database,
host: config.host,
dialect: config.dialect,
define: config.define,
dialectOptions: {"requestTimeout": 50000},
pool: {"max": 1, "idle": 50000},
},
production: {
username: config.username,
password: config.password,
database: config.database,
host: config.host,
dialect: config.dialect,
define: config.define,
dialectOptions: {"requestTimeout": 50000},
pool: {"max": 1, "idle": 50000},
},
};