fix: use alembic version from current virtual env
This commit is contained in:
parent
edd000bc38
commit
99d3a86493
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ async def run_migrations():
|
||||||
)
|
)
|
||||||
|
|
||||||
migration_result = subprocess.run(
|
migration_result = subprocess.run(
|
||||||
["alembic", "upgrade", "head"],
|
["python", "-m", "alembic", "upgrade", "head"],
|
||||||
capture_output=True,
|
capture_output=True,
|
||||||
text=True,
|
text=True,
|
||||||
cwd=Path(package_root),
|
cwd=Path(package_root),
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue