-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathormconfig.json
54 lines (54 loc) · 1.58 KB
/
ormconfig.json
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
[
{
"name": "default",
"type": "mongodb",
"host": "ds042687.mlab.com",
"port": 42687,
"username": "test",
"password": "test",
"database": "mpis",
"logging": "all",
"logger": "advanced-console",
"synchronize": true,
"entityPrefix": "mpis__",
"keepAlive": 15000,
"connectTimeoutMS": 15000,
"entities": [
"Server/data/entities/**/*.ts",
"dist/out-test-tsc/Server/data/entities/**/*.js"
],
"migrations": [
"dist/out-test-tsc/Server/data/migrations/**/*.js"
],
"subscribers": [
"dist/out-test-tsc/Server/data/subscriber/**/*.ts"
],
"cli": {
"entitiesDir": "dist/out-test-tsc/Server/data/entities",
"migrationsDir": "dist/out-test-tsc/Server/data/migrations",
"subscribersDir": "dist/out-test-tsc/Server/data/subscribers"
}
},
{
"name": "test-conn",
"type": "mongodb",
"host": "ds042687.mlab.com",
"port": 42687,
"username": "test",
"password": "test",
"database": "mpis",
"logging": "all",
"logger": "advanced-console",
"synchronize": true,
"entityPrefix": "mpis__",
"keepAlive": 15000,
"connectTimeoutMS": 15000,
"entities": [
"Server/data/entities/**/*.ts",
"dist/out-test-tsc/Server/data/entities/**/*.js"
],
"migrations": [
"dist/out-test-tsc/Server/data/migrations/**/*.js"
]
}
]