From a6d66d19a29b9961cf2b9ba938afe7203cf9b21d Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Wed, 18 Mar 2026 17:11:42 +0100 Subject: [PATCH] :goat: --- backend/alembic/env.py | 3 ++- backend/requirements.txt | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/alembic/env.py b/backend/alembic/env.py index ba288ef..50ac91b 100644 --- a/backend/alembic/env.py +++ b/backend/alembic/env.py @@ -43,7 +43,8 @@ def run_migrations_offline() -> None: script output. """ - url = config.get_main_option("sqlalchemy.url", os.environ["DATABASE_URL"]) + url = os.environ["DATABASE_URL"] + print(url) context.configure( url=url, target_metadata=target_metadata, diff --git a/backend/requirements.txt b/backend/requirements.txt index b30441d..7a1aa15 100644 --- a/backend/requirements.txt +++ b/backend/requirements.txt @@ -11,4 +11,5 @@ bcrypt==4.3.0 uvicorn==0.41.0 pyyaml==6.0.3 psycopg2-binary==2.9.11 -python-multipart==0.0.22 \ No newline at end of file +python-multipart==0.0.22 +alembic==1.18.4 \ No newline at end of file