How do you do a data migration where the migration...
# orm-help
n
How do you do a data migration where the migration only contains DML statements instead of the usual DDL?
r
The general recommendation is to separate data migrations from schema migrations, and run them with a different system, potentially by hand using a seed file or script. Here’s a blog post about this: https://thoughtbot.com/blog/data-migrations-in-rails