Skip to content

Commit 16d29c9

Browse files
author
Umed Khudoiberdiev
committed
fixed ormconfig
1 parent e03e861 commit 16d29c9

File tree

1 file changed

+22
-25
lines changed

1 file changed

+22
-25
lines changed

ormconfig.json

Lines changed: 22 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,23 @@
1-
[
2-
{
3-
"name": "default",
4-
"type": "mysql",
5-
"host": "localhost",
6-
"port": 3306,
7-
"username": "test",
8-
"password": "test",
9-
"database": "test",
10-
"autoSchemaSync": true,
11-
"entities": [
12-
"src/entity/*.js"
13-
],
14-
"subscribers": [
15-
"src/subscriber/*.js,"
16-
],
17-
"migrations": [
18-
"src/migration/*.js"
19-
],
20-
"cli": {
21-
"entitiesDir": "src/entity",
22-
"migrationsDir": "src/migration",
23-
"subscribersDir": "src/subscriber"
24-
}
1+
{
2+
"type": "mysql",
3+
"host": "localhost",
4+
"port": 3306,
5+
"username": "test",
6+
"password": "test",
7+
"database": "test",
8+
"synchronize": true,
9+
"entities": [
10+
"src/entity/*.js"
11+
],
12+
"subscribers": [
13+
"src/subscriber/*.js"
14+
],
15+
"migrations": [
16+
"src/migration/*.js"
17+
],
18+
"cli": {
19+
"entitiesDir": "src/entity",
20+
"migrationsDir": "src/migration",
21+
"subscribersDir": "src/subscriber"
2522
}
26-
]
23+
}

0 commit comments

Comments
 (0)