fix: run migrations during dev deployment #15

Merged
avm merged 2 commits from feature/state-corp-dev-migrate into main 2026-07-24 13:17:49 +03:00
Owner

Dev Compose disables automatic migrations and uses a separate migration service. The deploy workflow recreated application containers but did not run migrations, leaving the database schema stale after a code deploy.

This adds the documented one-off Django migration step after a successful dev deployment.

Validated: YAML parsed with Ruby/Psych; the migration command was executed successfully on the dev stand.

Dev Compose disables automatic migrations and uses a separate migration service. The deploy workflow recreated application containers but did not run migrations, leaving the database schema stale after a code deploy. This adds the documented one-off Django migration step after a successful dev deployment. Validated: YAML parsed with Ruby/Psych; the migration command was executed successfully on the dev stand.
avm added 2 commits 2026-07-24 13:14:31 +03:00
Merge remote-tracking branch 'origin/main' into dev
All checks were successful
CI/CD Pipeline / Run Tests (push) Successful in 3m25s
CI/CD Pipeline / Code Quality Checks (push) Successful in 3m29s
CI/CD Pipeline / Build and Push Dev Images (push) Successful in 32s
CI/CD Pipeline / Deploy Dev via Compose (push) Successful in 33s
5161d0300b
fix: run migrations during dev deployment
All checks were successful
CI/CD Pipeline / Code Quality Checks (pull_request) Successful in 2m22s
CI/CD Pipeline / Run Tests (pull_request) Successful in 2m53s
CI/CD Pipeline / Build and Push Dev Images (pull_request) Has been skipped
CI/CD Pipeline / Deploy Dev via Compose (pull_request) Has been skipped
87d8d8b913
avm merged commit 9681d26d79 into main 2026-07-24 13:17:49 +03:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: avm/state-corp-backend#15