Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle failed migrations #663

Open
kalilsn opened this issue Sep 26, 2024 · 0 comments
Open

Handle failed migrations #663

kalilsn opened this issue Sep 26, 2024 · 0 comments
Labels

Comments

@kalilsn
Copy link
Member

kalilsn commented Sep 26, 2024

Motivation

So devs don't have to panic if a migration fails

Requirements

  • Document what to do in the event of a failed migration
  • Either add the DATABASE_URL env var to the bastion host so prisma commands can be run from there
  • Or update the migrate-docker script to find any failed migrations and mark them as rolled back before running prisma migrate deploy

Acceptance Criteria

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

No branches or pull requests

1 participant