- Install sqlx-cli in backend builder stage - Copy migrations and sqlx binary to runtime image - Run database migrations automatically on container startup - Add error handling to prevent startup failure if migrations already applied This ensures the database schema is always up to date when deploying with Docker, eliminating manual migration steps. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
4.1 KiB
4.1 KiB