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_spec.rb | ||
active_record_serialize_spec.rb | ||
custom_error_class_spec.rb | ||
gem_fetcher_spec.rb | ||
in_batches_spec.rb | ||
polymorphic_associations_spec.rb | ||
project_path_helper_spec.rb | ||
redirect_with_status_spec.rb |