diff --git a/cmd/web/main.go b/cmd/web/main.go index 91305c6..bb00722 100644 --- a/cmd/web/main.go +++ b/cmd/web/main.go @@ -65,7 +65,7 @@ func run() (*driver.DB, error) { // connect to database log.Println("Connecting to database...") - dsn := fmt.Sprintf("host=localhost port=5432 dbname=test_connect user=%s password=%s", os.Getenv("PGUSER"), os.Getenv("PGPWD")) + dsn := fmt.Sprintf("host=localhost port=5432 dbname=bookings user=%s password=%s", os.Getenv("PGUSER"), os.Getenv("PGPWD")) db, err := driver.ConnectSQL(dsn) if err != nil { log.Fatal("Cannot connect to database! Dying...")