Commit 564b50be authored by Mehmet Emin INAC's avatar Mehmet Emin INAC

Remove unnecessary cop disable comments

There are some left overs from the previous change of
Migration/DropTable cop so this commit removes them.
parent 81698dea
...@@ -19,9 +19,7 @@ class CreateGroupDeployKeysGroup < ActiveRecord::Migration[6.0] ...@@ -19,9 +19,7 @@ class CreateGroupDeployKeysGroup < ActiveRecord::Migration[6.0]
def down def down
with_lock_retries do with_lock_retries do
# rubocop:disable Migration/DropTable
drop_table :group_deploy_keys_groups drop_table :group_deploy_keys_groups
# rubocop:enable Migration/DropTable
end end
end end
end end
...@@ -24,7 +24,7 @@ class CreateVulnerabilityStatistics < ActiveRecord::Migration[6.0] ...@@ -24,7 +24,7 @@ class CreateVulnerabilityStatistics < ActiveRecord::Migration[6.0]
def down def down
with_lock_retries do with_lock_retries do
drop_table :vulnerability_statistics # rubocop:disable Migration/DropTable drop_table :vulnerability_statistics
end end
end end
end end
...@@ -17,6 +17,6 @@ class CreateNamespaceLimits < ActiveRecord::Migration[6.0] ...@@ -17,6 +17,6 @@ class CreateNamespaceLimits < ActiveRecord::Migration[6.0]
end end
def down def down
drop_table :namespace_limits # rubocop:disable Migration/DropTable drop_table :namespace_limits
end end
end end
...@@ -18,7 +18,7 @@ class CreateSnippetStatistics < ActiveRecord::Migration[6.0] ...@@ -18,7 +18,7 @@ class CreateSnippetStatistics < ActiveRecord::Migration[6.0]
def down def down
with_lock_retries do with_lock_retries do
drop_table :snippet_statistics # rubocop:disable Migration/DropTable drop_table :snippet_statistics
end end
end 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