fix: use alembic version from current virtual env

This commit is contained in:
Igor Ilic 2025-12-15 16:44:46 +01:00
parent edd000bc38
commit 99d3a86493

View file

@ -34,7 +34,7 @@ async def run_migrations():
)
migration_result = subprocess.run(
["alembic", "upgrade", "head"],
["python", "-m", "alembic", "upgrade", "head"],
capture_output=True,
text=True,
cwd=Path(package_root),