rails_refactor icon indicating copy to clipboard operation
rails_refactor copied to clipboard

Should not change migrations

Open softwaregravy opened this issue 2 years ago • 1 comments

Migrations which have been committed and deployed should be effectively immutable. Rather than editing past migrations, it would be better to create a new migration which renames the table. As is, renaming a model cannot be used in a production system.

softwaregravy avatar Jun 21 '22 14:06 softwaregravy