Skip to content

Support database rollbacks in case of bad migrations #6114

@avrittrohwer

Description

@avrittrohwer
  • General
  • Backend
  • Public
  • Partners

Background / Issue

The tofu infra code should trigger a DB backup before it makes any changes to the API container. Because the API container runs prisma migrations when it starts, it would minimize the data loss in the event that we had a bad migration that messed up the database, requiring us to restore to a snapshot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraA way to track issues that are specific to bloom infrastructural changes

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions