diff --git a/alembic/versions/1e9aeac89c4a_create_prompt_route_and_backfill.py b/alembic/versions/1e9aeac89c4a_create_prompt_route_and_backfill.py index 20751ac..65d8c40 100644 --- a/alembic/versions/1e9aeac89c4a_create_prompt_route_and_backfill.py +++ b/alembic/versions/1e9aeac89c4a_create_prompt_route_and_backfill.py @@ -41,5 +41,5 @@ def upgrade() -> None: def downgrade() -> None: - op.execute("DROP TABLE prompt_routes CASCADE") + op.drop_table("prompt_routes") pass diff --git a/tests/test_api.py b/tests/test_api.py index 8c3ebe4..1fe510f 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -26,7 +26,6 @@ def test_client(): print("Running tests...") with TestClient(app) as testing_client: yield testing_client - command.downgrade(alembic_config, "base") def test_access_docs(test_client):