Photo by [Mathew Schwartz](https://unsplash.com/@cadop?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)

How should I change production data on a new Rails application?

You might be spending a lot of time asking yourself these questions: What is the proper way to change data in production? Should I run data and schema modifications in one database migration? Should I run rake scripts in production to modify data? Should I use a specialized data migration gem? Some people will tell you that changing data with a database migration is an anti-pattern and migrations should only contain schema changes....

April 13, 2021 ยท 2 min ยท Thiago Araujo