Patterns for "data-only" Rails migrations
dhh discuss ruby on rails · 2020-05-22
We mix data and sql statements in migrations all the time at Basecamp. This is what migrations were designed to do! They’re intended to be m
We mix data and sql statements in migrations all the time at Basecamp. This is what migrations were designed to do! They’re intended to be m
I’d go so far as to say that pending migrations should indeed just run by default in development and test, but those environments only. I’ve