d8be981466
add_column_with_default is implemented in terms of update_column_in_batches, but update_column_in_batches can be used independently. Neither of these should be used on the specified large tables, because they will cause issues on large instances like GitLab.com. This also ignores the cop for all existing migrations, renaming AddColumnWithDefaultToLargeTable where appropriate. |
||
---|---|---|
.. | ||
migration | ||
rspec | ||
active_record_dependent.rb | ||
active_record_serialize.rb | ||
custom_error_class.rb | ||
gem_fetcher.rb | ||
in_batches.rb | ||
polymorphic_associations.rb | ||
project_path_helper.rb | ||
redirect_with_status.rb |