diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-11 06:08:45 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-11 06:08:45 +0000 |
commit | 79b32f05d4c0e6cedcf14d48bef24fd68e33a7f6 (patch) | |
tree | 1e1acb8f92705fe8e403f325606fd4cb069aaae0 /.rubocop.yml | |
parent | 82b4999167b35b73a41951bf088b77ee4aef846c (diff) | |
download | gitlab-ce-79b32f05d4c0e6cedcf14d48bef24fd68e33a7f6.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r-- | .rubocop.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index fdb935d644d..baaeab4ec6f 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -538,3 +538,8 @@ Migration/ReferToIndexByName: - !ruby/regexp /\Adb\/(post_)?migrate\/201.*\.rb\z/ - !ruby/regexp /\Adb\/(post_)?migrate\/20200[1-7].*\.rb\z/ - !ruby/regexp /\Aee\/db\/geo\/(post_)?migrate\/201.*\.rb\z/ + +Migration/CreateTableWithForeignKeys: + # Disable this cop for all the existing migrations + Exclude: + - !ruby/regexp /\Adb\/(?:post_)?migrate\/(?:201[0-9]\d+|20200[0-8][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])_.+\.rb\z/ |