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-09-11 09:08:45 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-09-11 09:08:45 +0300
commit79b32f05d4c0e6cedcf14d48bef24fd68e33a7f6 (patch)
tree1e1acb8f92705fe8e403f325606fd4cb069aaae0 /.rubocop.yml
parent82b4999167b35b73a41951bf088b77ee4aef846c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to '.rubocop.yml')
-rw-r--r--.rubocop.yml5
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/