CHANGE: added work and pause time
This commit is contained in:
@@ -13,7 +13,7 @@ func OpenDatabase() (*sql.DB, error) {
|
||||
dbUser := helper.GetEnv("POSTGRES_USER", "arbeit_zeit")
|
||||
dbPassword := helper.GetEnv("POSTGRES_PASS", "password")
|
||||
|
||||
connStr := fmt.Sprintf("postgres://%s:%s@%s:5432/%s?sslmode=disable", dbUser, dbPassword, dbHost, dbName)
|
||||
connStr := fmt.Sprintf("postgres://%s:%s@%s:5432/%s?sslmode=disable&TimeZone=Europe/Berlin", dbUser, dbPassword, dbHost, dbName)
|
||||
return sql.Open("postgres", connStr)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user