summaryrefslogtreecommitdiff
path: root/rubocop/rubocop-migrations.yml
blob: ccde12bca777e6f4af1e466d5d80a9299300375f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Make sure to update the docs if this file moves. Docs URL: https://docs.gitlab.com/ee/development/migration_style_guide.html#when-to-use-the-helper-method
Migration/UpdateLargeTable:
  Enabled: true
  HighTrafficTables: &high_traffic_tables # size in GB (>= 10 GB on GitLab.com as of 06/2022) and/or number of records
    - :alert_management_alerts
    - :approval_merge_request_rules_users
    - :audit_events
    - :authentication_events
    - :ci_build_needs
    - :ci_build_report_results
    - :ci_builds
    - :ci_builds_metadata
    - :ci_build_trace_metadata
    - :ci_job_artifacts
    - :ci_pipeline_messages
    - :ci_pipelines
    - :ci_pipelines_config
    - :ci_pipeline_variables
    - :ci_stages
    - :deployments
    - :description_versions
    - :error_tracking_error_events
    - :events
    - :gitlab_subscriptions
    - :gpg_signatures
    - :issues
    - :label_links
    - :lfs_objects
    - :lfs_objects_projects
    - :members
    - :merge_request_cleanup_schedules
    - :merge_request_diff_commits
    - :merge_request_diff_files
    - :merge_request_diffs
    - :merge_request_metrics
    - :merge_requests
    - :namespaces
    - :namespace_settings
    - :note_diff_files
    - :notes
    - :packages_package_files
    - :project_authorizations
    - :project_ci_cd_settings
    - :project_daily_statistics
    - :project_features
    - :projects
    - :project_settings
    - :protected_branches
    - :push_event_payloads
    - :resource_label_events
    - :resource_state_events
    - :routes
    - :security_findings
    - :sent_notifications
    - :system_note_metadata
    - :taggings
    - :todos
    - :uploads
    - :user_details
    - :user_preferences
    - :users
    - :vulnerabilities
    - :vulnerability_occurrence_identifiers
    - :vulnerability_occurrence_pipelines
    - :vulnerability_occurrences
    - :vulnerability_reads
    - :web_hook_logs
  DeniedMethods:
    - :change_column_type_concurrently
    - :rename_column_concurrently
    - :update_column_in_batches