test(postgres): use runtime migration command
This commit is contained in:
@@ -289,7 +289,7 @@ def test_alembic_upgrade_is_repeatable_on_fresh_postgres_database() -> None:
|
||||
)
|
||||
for _ in range(2):
|
||||
subprocess.run(
|
||||
[str(_ROOT / ".venv/bin/python"), "-m", "alembic", "upgrade", "head"],
|
||||
[str(_ROOT / ".venv/bin/pfhub"), "migrate-db"],
|
||||
cwd=_ROOT,
|
||||
env=env,
|
||||
check=True,
|
||||
|
||||
Reference in New Issue
Block a user