From 34f162576b5eb4bab65a24bd1544e58fc0bfb3ed Mon Sep 17 00:00:00 2001 From: poignatov Date: Sun, 25 Jan 2026 15:54:06 +0300 Subject: [PATCH] =?UTF-8?q?3.28.4:=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=BA=D0=BE=D0=BC=D0=BF=D0=B8=D0=BB=D1=8F=D1=86=D0=B8=D0=B8?= =?UTF-8?q?=20=D0=BC=D0=B8=D0=B3=D1=80=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VERSION | 2 +- play-life-backend/main.go | 6 +++--- play-life-web/package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/VERSION b/VERSION index 185fbd9..772ea92 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.28.3 +3.28.4 diff --git a/play-life-backend/main.go b/play-life-backend/main.go index 44706db..cf91261 100644 --- a/play-life-backend/main.go +++ b/play-life-backend/main.go @@ -2827,7 +2827,7 @@ func (a *App) initAuthDB() error { // Apply migration 014: Make refresh tokens permanent (expires_at nullable) // This allows refresh tokens to never expire var isNullable string - err = a.DB.QueryRow(` + err := a.DB.QueryRow(` SELECT is_nullable FROM information_schema.columns WHERE table_schema = 'public' @@ -2836,8 +2836,8 @@ func (a *App) initAuthDB() error { `).Scan(&isNullable) if err == nil && isNullable == "NO" { // Column is NOT NULL, need to make it nullable - if _, err := a.DB.Exec("ALTER TABLE refresh_tokens ALTER COLUMN expires_at DROP NOT NULL"); err != nil { - log.Printf("Warning: Failed to apply migration 014 (make expires_at nullable): %v", err) + if _, execErr := a.DB.Exec("ALTER TABLE refresh_tokens ALTER COLUMN expires_at DROP NOT NULL"); execErr != nil { + log.Printf("Warning: Failed to apply migration 014 (make expires_at nullable): %v", execErr) } else { log.Printf("Migration 014 applied: refresh_tokens.expires_at is now nullable") } diff --git a/play-life-web/package.json b/play-life-web/package.json index 1bfda06..0d9f9f8 100644 --- a/play-life-web/package.json +++ b/play-life-web/package.json @@ -1,6 +1,6 @@ { "name": "play-life-web", - "version": "3.28.3", + "version": "3.28.4", "type": "module", "scripts": { "dev": "vite",