File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,9 @@ func NewSystemDatabase() (SystemDatabase, error) {
122122 // TODO: pass proper config
123123 databaseURL := os .Getenv ("DBOS_DATABASE_URL" )
124124 if databaseURL == "" {
125- fmt .Println ("DBOS_DATABASE_URL not set, using default: postgres://postgres:${PGPASSWORD}@localhost:5432/postgres ?sslmode=disable" )
125+ fmt .Println ("DBOS_DATABASE_URL not set, using default: postgres://postgres:${PGPASSWORD}@localhost:5432/dbos ?sslmode=disable" )
126126 password := url .QueryEscape (os .Getenv ("PGPASSWORD" ))
127- databaseURL = fmt .Sprintf ("postgres://postgres:%s@localhost:5432/postgres ?sslmode=disable" , password )
127+ databaseURL = fmt .Sprintf ("postgres://postgres:%s@localhost:5432/dbos ?sslmode=disable" , password )
128128 }
129129
130130 // Create the database if it doesn't exist
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ func setupDBOS(t *testing.T) {
1818
1919 databaseURL := os .Getenv ("DBOS_DATABASE_URL" )
2020 if databaseURL == "" {
21- fmt .Println ("DBOS_DATABASE_URL not set, using default: postgres://postgres:${PGPASSWORD}@localhost:5432/postgres ?sslmode=disable" )
21+ fmt .Println ("DBOS_DATABASE_URL not set, using default: postgres://postgres:${PGPASSWORD}@localhost:5432/dbos ?sslmode=disable" )
2222 password := url .QueryEscape (os .Getenv ("PGPASSWORD" ))
23- databaseURL = fmt .Sprintf ("postgres://postgres:%s@localhost:5432/postgres ?sslmode=disable" , password )
23+ databaseURL = fmt .Sprintf ("postgres://postgres:%s@localhost:5432/dbos ?sslmode=disable" , password )
2424 }
2525
2626 // Clean up the test database
You can’t perform that action at this time.
0 commit comments