File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 23
23
},
24
24
"scripts" : {
25
25
"lint" : " eslint . --cache --ext ts" ,
26
- "start" : " NODE_NO_WARNINGS=1 ts-node --transpileOnly main" ,
26
+ "start" : " NODE_NO_WARNINGS=1 PGDATABASE=boxel PGPORT=5435 ts-node --transpileOnly main" ,
27
27
"test" : " NODE_NO_WARNINGS=1 qunit --require ts-node/register/transpile-only tests/index.ts" ,
28
28
"get-chat" : " NODE_NO_WARNINGS=1 ts-node --transpileOnly scripts/get_chat.ts"
29
29
},
Original file line number Diff line number Diff line change @@ -3,9 +3,9 @@ import { type ClientConfig } from 'pg';
3
3
export function postgresConfig ( defaultConfig : ClientConfig = { } ) {
4
4
return Object . assign ( { } , defaultConfig , {
5
5
host : process . env . PGHOST || 'localhost' ,
6
- port : process . env . PGPORT || '5435 ' ,
6
+ port : process . env . PGPORT || '5432 ' ,
7
7
user : process . env . PGUSER || 'postgres' ,
8
8
password : process . env . PGPASSWORD || undefined ,
9
- database : process . env . PGDATABASE || 'boxel ' ,
9
+ database : process . env . PGDATABASE || 'postgres ' ,
10
10
} ) ;
11
11
}
You can’t perform that action at this time.
0 commit comments