diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 01cc6c2..d8f158f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -63,7 +63,6 @@ jobs: docker compose -f docker-compose.dev.yml exec -T backend alembic current docker compose -f docker-compose.dev.yml exec -T backend alembic history --verbose docker compose -f docker-compose.dev.yml exec -T backend alembic stamp head - docker compose -f docker-compose.dev.yml exec -T backend alembic history --verbose docker compose -f docker-compose.dev.yml exec -T backend alembic downgrade -1 docker compose -f docker-compose.dev.yml exec -T backend alembic upgrade +1 diff --git a/src/migrations/versions/2024_03_30_0143-66a64868bce4_.py b/src/migrations/versions/2024_03_30_0143-66a64868bce4_.py index 783017b..5127d3f 100755 --- a/src/migrations/versions/2024_03_30_0143-66a64868bce4_.py +++ b/src/migrations/versions/2024_03_30_0143-66a64868bce4_.py @@ -57,6 +57,7 @@ def downgrade() -> None: # ### commands auto generated by Alembic - please adjust! ### op.drop_table("guideline") op.drop_table("user") + sa.Enum(name="userscope").drop(op.get_bind(), checkfirst=False) op.drop_index(op.f("ix_repository_provider_repo_id"), table_name="repository") op.drop_table("repository") # ### end Alembic commands ###