Skip to content

Commit

Permalink
oopsie doopsie
Browse files Browse the repository at this point in the history
  • Loading branch information
Erutis committed Sep 5, 2024
1 parent f56dbb3 commit ab2d486
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/db-changes-var1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,14 @@ jobs:
python -m pip install --upgrade pip
pip install -r app/requirements.txt
- name: Run alembic - Initial DB setup (with pre-populated script)
- name: Run alembic script autogeneration for Initial DB Setup
id: run-alembic-script-autogen
env:
DATABASE_URL: ${{ env.DATABASE_URL }}
run: |
alembic -c alembic.ini revision --autogenerate -m "test_temp_db_001"
- name: Alembic Upgrade Head
id: run-alembic-upgrade-initial
env:
DATABASE_URL: ${{ env.DATABASE_URL }}
Expand All @@ -98,7 +105,7 @@ jobs:
env:
DATABASE_URL: ${{ env.DATABASE_URL }}
run: |
alembic -c alembic.ini revision --autogenerate -m "test_script_02"
alembic -c alembic.ini revision --autogenerate -m "test_new_changes_002"
- name: Upgrade alembic head with new revision
id: run-alembic-upgrade-new
Expand Down

0 comments on commit ab2d486

Please sign in to comment.