Skip to content

Commit 887f083

Browse files
committed
JavaScript/TypeORM: Adjust settings for CrateDB, enable logging
1 parent cb25e59 commit 887f083

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

by-language/javascript-typeorm/src/data-source.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ export const AppDataSource = new DataSource({
66
type: "postgres",
77
host: "localhost",
88
port: 5432,
9-
username: "test",
10-
password: "test",
9+
username: "crate",
10+
password: "",
1111
database: "test",
1212
synchronize: true,
13-
logging: false,
13+
logging: true,
1414
entities: [User],
1515
migrations: [],
1616
subscribers: [],

0 commit comments

Comments
 (0)