4 ms·
I'm a happy user of ActiveRecord::Migration, so I'd love to read that comparison. What do you keep telling the rubyists :)?
by stevepike 11y ago
I'm a happy user of ActiveRecord::Migration, so I'd love to read that comparison. What do you keep telling the rubyists :)?
- zeckalpha 11y agoIt forces you to resolve conflicts. Two developers create a migration on the same day, but they get merged later. Alembic stops you and ask which goes first. ActiveRecord::Migration runs them both. This is particularly bad when one migration is a table drop and another is an add_column on the same table. And that's just one short coming. Our monkey patched ActiveRecord::Migration doesn't do this (yet), but we've done quite a few other improvements to it. Another significant difference is the migration generation. Once you've generated migrations with alembic, it's hard to tolerate anything else.