fixed problems from install script #72

Merged
tom_trgr merged 3 commits from dev/main into main 2026-01-18 22:55:13 +01:00
2 changed files with 2 additions and 1 deletions
Showing only changes of commit 8dc8c4eed3 - Show all commits

View File

@@ -6,6 +6,7 @@ on:
- "*"
branches:
- main
- dev/main
jobs:
webserver:

View File

@@ -31,7 +31,7 @@ func Migrate() error {
dbPassword := helper.GetEnv("POSTGRES_PASSWORD", "password")
dbTz := helper.GetEnv("TZ", "Europe/Berlin")
connStr := fmt.Sprintf("postgres://%s:%s@%s:5432/%s?sslmode=disable&TimeZone=%s", "migrate", dbPassword, dbHost, dbName, dbTz)
connStr := fmt.Sprintf("postgres://migrate:%s@%s:5432/%s?sslmode=disable&TimeZone=%s", dbPassword, dbHost, dbName, dbTz)
m, err := migrate.New("file:///migrations", connStr)
if err != nil {
return err