← Graph

Automate Phantom Migration Rollback

takeaway 1 connections

Takeaway from the Phantom Migrations lightning talk: instead of manually dropping/reseeding the database when switching between branches with incompatible migrations, use a gem that records executed migrations in the temp folder and uses that history to roll back migrations that no longer exist on the target branch (assuming they are reversible). Then `rails db:migrate` brings the DB back in sync.

type
recommendation
takeaway Automate Phantom Migration Rollback
from_talk
Takeaway extracted from the lightning talk

Provenance

Created in
wroclove.rb 2023 Lightning Talks 2026-04-17 22:11
Read by
2 extractions