Replace prisma db push with versioned migrations #16
Labels
No labels
bug
dependencies
documentation
feature
phase-summary
security
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
vmanne-poc/Postak#16
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The backend container runs
prisma db push --accept-data-losson 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 indocs/internal/operations.md.