RubyGems.org

This extension to the MysqlAdapter in ActiveRecord enables bulk updates to schema definitions. Pr. default when calling connection#add_column the change will be executed a once, but Mysql allows for multiple changes to be executed in one SQL statement (http://dev.mysql.com/doc/refman/5.1/en/alter-table.html). The advantage of this is that it takes a lot less time, especially if the table is large.

installgem install mysql_schema_bulk_change
Authors

Jacob Kjeldahl

1,863 total downloads 1,863 for this version
Owners

E34dd897ff935fbbee0116a2ea6dc2fa

Gemfile
gem 'mysql_schema_bulk_change', '~> 0.2.0'
Versions
  1. 0.2.0 October 30, 2009 (13 KB)
Runtime Dependencies
  1. activerecord >= 2.3.2
Development Dependencies
  1. hoe >= 1.8.0
  2. newgem >= 1.3.0