diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-24 09:09:43 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-24 09:09:43 +0000 |
commit | 028c7bdc315c3770f2ccc86f1100d90a5f702cad (patch) | |
tree | ee46807784d115a6bc4ffedbbd94588025e80b01 /rubocop | |
parent | d1727df7469dacdf782140d69e5cf3aa08d75ec9 (diff) | |
download | gitlab-ce-028c7bdc315c3770f2ccc86f1100d90a5f702cad.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop')
-rw-r--r-- | rubocop/migration_helpers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rubocop/migration_helpers.rb b/rubocop/migration_helpers.rb index db8fc079774..d49280c39e4 100644 --- a/rubocop/migration_helpers.rb +++ b/rubocop/migration_helpers.rb @@ -42,11 +42,11 @@ module RuboCop end def in_deployment_migration?(node) - dirname(node).end_with?('db/migrate', 'db/geo/migrate') + dirname(node).end_with?('db/migrate', 'db/embedding/migrate', 'db/geo/migrate') end def in_post_deployment_migration?(node) - dirname(node).end_with?('db/post_migrate', 'db/geo/post_migrate') + dirname(node).end_with?('db/post_migrate', 'db/embedding/post_migrate', 'db/geo/post_migrate') end # Returns true if we've defined an 'EnforcedSince' variable in rubocop.yml and the migration version |