Don't Let Old Migrations Haunt Your Codebase
Data migrations are essential for one-off tasks like backfilling fields or restructuring data. But once they’ve run in production and all your environments, the code inside them becomes dead weight.
We often leave them in the codebase because we’re afraid …