🐐
This commit is contained in:
@@ -43,7 +43,8 @@ def run_migrations_offline() -> None:
|
|||||||
script output.
|
script output.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
url = config.get_main_option("sqlalchemy.url", os.environ["DATABASE_URL"])
|
url = os.environ["DATABASE_URL"]
|
||||||
|
print(url)
|
||||||
context.configure(
|
context.configure(
|
||||||
url=url,
|
url=url,
|
||||||
target_metadata=target_metadata,
|
target_metadata=target_metadata,
|
||||||
|
|||||||
@@ -11,4 +11,5 @@ bcrypt==4.3.0
|
|||||||
uvicorn==0.41.0
|
uvicorn==0.41.0
|
||||||
pyyaml==6.0.3
|
pyyaml==6.0.3
|
||||||
psycopg2-binary==2.9.11
|
psycopg2-binary==2.9.11
|
||||||
python-multipart==0.0.22
|
python-multipart==0.0.22
|
||||||
|
alembic==1.18.4
|
||||||
Reference in New Issue
Block a user