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

This commit is contained in:
“Naeel”
2026-07-28 09:37:14 +04:00
parent 186569d173
commit c26826965a
2 changed files with 8 additions and 25 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()