Skip to content

Commit 80d68b3

Browse files
authored
Merge pull request #111 from PolicyEngine/fix/fix-deploy-errors
Fix db-reset workflow: add missing --reset flag
2 parents 0dad5b5 + cd44f6c commit 80d68b3

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/db-reset.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
LOGFIRE_ENVIRONMENT: prod
9090
run: |
9191
echo "Resetting database tables..."
92-
echo "yes" | uv run python scripts/init.py
92+
echo "yes" | uv run python scripts/init.py --reset
9393
9494
- name: Seed database (lite)
9595
if: ${{ github.event.inputs.mode == 'lite' }}

changelog.d/db-reset-flag.fixed

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add missing --reset flag to db-reset workflow so init.py actually drops existing tables before recreating them.

0 commit comments

Comments
 (0)