Replace prisma db push with versioned migrations #16

Closed
opened 2026-10-14 23:16:44 -04:00 by vmanne-poc · 0 comments
Owner

The backend container runs prisma db push --accept-data-loss on start. That's fine for development but unsafe in production: a schema change can silently drop columns and there's no history of changes.

Plan: baseline the current schema as the first migration, switch the container to prisma migrate deploy, and document the workflow in docs/internal/operations.md.

The backend container runs `prisma db push --accept-data-loss` on start. That's fine for development but unsafe in production: a schema change can silently drop columns and there's no history of changes. **Plan:** baseline the current schema as the first migration, switch the container to `prisma migrate deploy`, and document the workflow in `docs/internal/operations.md`.
Sign in to join this conversation.
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
vmanne-poc/Postak#16
No description provided.