• 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.
    d8be9814
20160715154212_add_request_access_enabled_to_projects.rb 362 Bytes