Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-06 00:08:27 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-06 00:08:27 +0300
commit908a54b62497377af7b0e307197b2ea930dbc4f0 (patch)
tree311261a02ca8583a7d1835b4e0d198b8ac1b320e /rubocop/rubocop-migrations.yml
parentaee8d27430f12f9b5bcdbbee4165b9fbc240d3e3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop/rubocop-migrations.yml')
-rw-r--r--rubocop/rubocop-migrations.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/rubocop/rubocop-migrations.yml b/rubocop/rubocop-migrations.yml
new file mode 100644
index 00000000000..8699f7b9c68
--- /dev/null
+++ b/rubocop/rubocop-migrations.yml
@@ -0,0 +1,40 @@
+Migration/UpdateLargeTable:
+ Enabled: true
+ DeniedTables: &denied_tables # size in GB (>= 10 GB on GitLab.com as of 02/2020) and/or number of records
+ - :audit_events
+ - :ci_build_trace_sections
+ - :ci_builds
+ - :ci_builds_metadata
+ - :ci_job_artifacts
+ - :ci_pipeline_variables
+ - :ci_pipelines
+ - :ci_stages
+ - :deployments
+ - :events
+ - :issues
+ - :merge_request_diff_commits
+ - :merge_request_diff_files
+ - :merge_request_diffs
+ - :merge_request_metrics
+ - :merge_requests
+ - :namespaces
+ - :note_diff_files
+ - :notes
+ - :project_authorizations
+ - :projects
+ - :project_ci_cd_settings
+ - :project_features
+ - :push_event_payloads
+ - :resource_label_events
+ - :routes
+ - :sent_notifications
+ - :services
+ - :system_note_metadata
+ - :taggings
+ - :todos
+ - :users
+ - :web_hook_logs
+ DeniedMethods:
+ - :change_column_type_concurrently
+ - :rename_column_concurrently
+ - :update_column_in_batches