feat: auto-stamp alembic version on fresh DB init #40

Merged
adam merged 2 commits from aazoulay/change-resource-defaults into main 2026-02-11 21:49:46 -05:00
Owner

Detect the latest migration revision by scanning migrations/versions/
and stamp alembic_version on first init_db() so future migrations skip
already-applied revisions.

  • Dockerfile now uses repo root as build context to copy migration files
  • Update docker-compose and CI build to match new context

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Detect the latest migration revision by scanning migrations/versions/ and stamp alembic_version on first init_db() so future migrations skip already-applied revisions. - Dockerfile now uses repo root as build context to copy migration files - Update docker-compose and CI build to match new context Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
feat: auto-stamp alembic version on fresh DB init
Some checks failed
CI / test-backend (pull_request) Has been cancelled
CI / test-frontend (pull_request) Has been cancelled
ba0cccd80d
Detect the latest migration revision by scanning migrations/versions/
and stamp alembic_version on first init_db() so future migrations skip
already-applied revisions.

- Dockerfile now uses repo root as build context to copy migration files
- Update docker-compose and CI build to match new context

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Merge branch 'main' into aazoulay/change-resource-defaults
All checks were successful
CI / test-backend (pull_request) Successful in 30s
CI / test-frontend (pull_request) Successful in 25s
cb33753e81
adam merged commit cb36f17930 into main 2026-02-11 21:49:46 -05:00
adam deleted branch aazoulay/change-resource-defaults 2026-02-11 21:49:46 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Canpute/canpute-ecs!40
No description provided.