Skip to content

Conversation

@rolandgroen
Copy link
Contributor

Summary

  • Switch from prisma migrate deploy to prisma db push for database schema synchronization

Changes

  • docker-entrypoint.sh: Use db push --accept-data-loss instead of migrate deploy
  • package-lock.json: Update peer dependency markers

Why

db push is simpler for development/demo environments where migration history tracking is not required. It directly syncs the schema to the database without requiring migration files.

- Change entrypoint to use `prisma db push --accept-data-loss` for schema sync
- Update package-lock.json with peer dependency markers

Using db push is simpler for development/demo environments where
migration history tracking is not required.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@rolandgroen rolandgroen requested a review from a team as a code owner December 12, 2025 09:59
Copy link
Contributor

@JorisHeadease JorisHeadease left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite a scary change, but as long as it's strictly for mock implementations and we don't care about migrations and data loss..

What is the actual issue with using prisma migrations? If you're certain it's not worth the time to fix, and there's no real risk of losing important data, feel free to merge it in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants