-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathormconfig.json
52 lines (52 loc) · 1.5 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
[
{
"name": "sqlite",
"type": "sqlite",
"database": "temp.sqlite",
"entities": ["./core/src/entities/*.entity.ts"],
"migrations": ["core/src/migrations/sqlite/*-*.ts"],
"migrationsRun": true,
"synchronize": false,
"migrationsTableName": "migrations",
"cli": {
"migrationsDir": "core/src/migrations/sqlite"
}
},
{
"name": "postgres",
"type": "postgres",
"host": "localhost",
"port": 5555,
"username": "postgres",
"password": "password",
"database": "test",
"entities": ["./core/src/entities/*.entity.ts"],
"migrationsTableName": "migrations",
"migrations": ["core/src/migrations/postgres/*-*.ts"],
"migrationsRun": true,
"synchronize": false,
"dropSchema": false,
"cli": {
"migrationsDir": "core/src/migrations/postgres"
}
},
{
"name": "mysql",
"type": "mysql",
"host": "localhost",
"port": 3306,
"username": "root",
"password": "password",
"database": "bibleengine",
"entities": ["./core/src/entities/*.entity.ts"],
"insecureAuth": true,
"migrationsTableName": "migrations",
"migrations": ["core/src/migrations/mysql/*-*.ts"],
"migrationsRun": true,
"synchronize": false,
"dropSchema": false,
"cli": {
"migrationsDir": "core/src/migrations/mysql"
}
}
]