• Sean McGivern's avatar
    Prevent update_column_in_batches on large tables · d8be9814
    Sean McGivern authored
    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.
20170305180853_add_auto_cancel_pending_pipelines_to_project.rb 401 Bytes