RubyFlow The Ruby and Rails community linklog

Splitting Rails migration into smaller pieces

If the table is huge and such a migration takes a lot of time, it sounds natural to split it into smaller pieces and run them without locking the table. See some thoughts about this approach here: https://veelenga.github.io/splitting-rails-migration-into-smaller-pieces

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in