diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-01 03:07:25 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-01 03:07:25 +0000 |
commit | 7503415f61a1405c4e83cc39e7fca8eaba621f23 (patch) | |
tree | fae54a26c03800a419e56393dfbea45b04ebc6f8 /rubocop | |
parent | ba557e8fea7c8a825a702ab154fa1574c4d2998a (diff) | |
download | gitlab-ce-7503415f61a1405c4e83cc39e7fca8eaba621f23.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop')
-rw-r--r-- | rubocop/cop/migration/versioned_migration_class.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/rubocop/cop/migration/versioned_migration_class.rb b/rubocop/cop/migration/versioned_migration_class.rb index 648782f1735..572ddcd1b12 100644 --- a/rubocop/cop/migration/versioned_migration_class.rb +++ b/rubocop/cop/migration/versioned_migration_class.rb @@ -9,9 +9,10 @@ module RuboCop include MigrationHelpers ENFORCED_SINCE = 2021_09_02_00_00_00 + CURRENT_DATABASE_MIGRATION_CLASS = 'Gitlab::Database::Migration[2.1]' - MSG_INHERIT = 'Don\'t inherit from ActiveRecord::Migration but use Gitlab::Database::Migration[1.0] instead. See https://docs.gitlab.com/ee/development/migration_style_guide.html#migration-helpers-and-versioning.' - MSG_INCLUDE = 'Don\'t include migration helper modules directly. Inherit from Gitlab::Database::Migration[1.0] instead. See https://docs.gitlab.com/ee/development/migration_style_guide.html#migration-helpers-and-versioning.' + MSG_INHERIT = 'Don\'t inherit from ActiveRecord::Migration but use Gitlab::Database::Migration[2.1] instead. See https://docs.gitlab.com/ee/development/migration_style_guide.html#migration-helpers-and-versioning.' + MSG_INCLUDE = 'Don\'t include migration helper modules directly. Inherit from Gitlab::Database::Migration[2.1] instead. See https://docs.gitlab.com/ee/development/migration_style_guide.html#migration-helpers-and-versioning.' ACTIVERECORD_MIGRATION_CLASS = 'ActiveRecord::Migration' |