summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-07-26 12:40:59 -0400
committerRobert Speicher <rspeicher@gmail.com>2017-07-26 12:40:59 -0400
commit02139f5a775fafb3999976cdd213d7ef14e720d7 (patch)
tree61a54aa5350e4731723c1f643d964c4de8fb7771
parent0c563225b663742b4f26731dc7bc822a38f7289b (diff)
downloadgitlab-ce-02139f5a775fafb3999976cdd213d7ef14e720d7.tar.gz
Update the large table list in AddColumnWithDefaultToLargeTable cop
- ci_builds -- 33 million rows, 55 GB - merge_request_diff_files -- 5 million rows, 9 GB (and growing rapidly) - merge_request_diffs -- 5 million rows, 190 GB
-rw-r--r--rubocop/cop/migration/add_column_with_default_to_large_table.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/rubocop/cop/migration/add_column_with_default_to_large_table.rb b/rubocop/cop/migration/add_column_with_default_to_large_table.rb
index 2372e6b60ea..87788b0d9c2 100644
--- a/rubocop/cop/migration/add_column_with_default_to_large_table.rb
+++ b/rubocop/cop/migration/add_column_with_default_to_large_table.rb
@@ -20,8 +20,11 @@ module RuboCop
'necessary'.freeze
LARGE_TABLES = %i[
+ ci_builds
events
issues
+ merge_request_diff_files
+ merge_request_diffs
merge_requests
namespaces
notes