v1.0.92: back to DATABASE_URL — JSON format for jsonEnv

This commit is contained in:
2026-07-28 09:37:14 +04:00
parent d239458d97
commit 7fc17ab3cd
3 changed files with 14 additions and 33 deletions
+2 -2
View File
@@ -49,8 +49,8 @@ CREATE INDEX IF NOT EXISTS idx_runs_created
def init_db():
"""Применить схему — идемпотентно, безопасно для конкурентного вызова."""
if not os.getenv("DB_USER"):
print("[DB] DB_USER not set — skipping init", flush=True)
if not os.getenv("DATABASE_URL"):
print("[DB] DATABASE_URL not set — skipping init", flush=True)
return
conn = get_conn()