Commit f2930cc1 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'remove_cop_disable_comments_for_drop_table_from_down_methods' into 'master'

Remove unnecessary cop disable comments

See merge request gitlab-org/gitlab!35148
parents 4d27661b 564b50be
......@@ -19,9 +19,7 @@ class CreateGroupDeployKeysGroup < ActiveRecord::Migration[6.0]
def down
with_lock_retries do
# rubocop:disable Migration/DropTable
drop_table :group_deploy_keys_groups
# rubocop:enable Migration/DropTable
end
end
end
......@@ -24,7 +24,7 @@ class CreateVulnerabilityStatistics < ActiveRecord::Migration[6.0]
def down
with_lock_retries do
drop_table :vulnerability_statistics # rubocop:disable Migration/DropTable
drop_table :vulnerability_statistics
end
end
end
......@@ -17,6 +17,6 @@ class CreateNamespaceLimits < ActiveRecord::Migration[6.0]
end
def down
drop_table :namespace_limits # rubocop:disable Migration/DropTable
drop_table :namespace_limits
end
end
......@@ -18,7 +18,7 @@ class CreateSnippetStatistics < ActiveRecord::Migration[6.0]
def down
with_lock_retries do
drop_table :snippet_statistics # rubocop:disable Migration/DropTable
drop_table :snippet_statistics
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment