-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathorm.js
More file actions
33 lines (33 loc) · 723 Bytes
/
orm.js
File metadata and controls
33 lines (33 loc) · 723 Bytes
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
module.exports = {
development: {
database: 'db_test',
username: 'test',
password: '*A0E2521E77EA33EF451BF2D1025F30B925D8F2F2',
options: {
host: '127.0.0.1',
port: 3306,
dialect: 'mysql', //mysql|sqlite|postgres|mssql
pool: {
max: 5,
min: 0,
idle: 10000
},
storage: 'path/to/database.sqlite' // SQLite only
}
},
production: {
database: 'qy_foreground',
username: 'qyfdb',
password: '*9BCABC927E66F185539F7748D1BA16341236BC2C',
options: {
host: '127.0.0.1',
port: 3306,
dialect: 'mysql', //mysql|sqlite|postgres|mssql
pool: {
max: 5,
min: 0,
idle: 10000
}
}
}
}