Rails Migration DSL and Relational Database Rollback Safety: Which Schema Changes Require Explicit Reversible Logic?
Rails migrations expose a DSL intended for reversible schema evolution, yet the boundary between the framework's automatic rollback inference and the underlying relational database's DDL semantics remains an unresolved design concern. Teams need a predictable contract for when db:rollback can safely invert a schema change without manual intervention. The cor