summaryrefslogtreecommitdiff
path: root/db/migrate/20160721081015_drop_and_readd_has_external_wiki_in_projects.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160721081015_drop_and_readd_has_external_wiki_in_projects.rb')
-rw-r--r--db/migrate/20160721081015_drop_and_readd_has_external_wiki_in_projects.rb19
1 files changed, 0 insertions, 19 deletions
diff --git a/db/migrate/20160721081015_drop_and_readd_has_external_wiki_in_projects.rb b/db/migrate/20160721081015_drop_and_readd_has_external_wiki_in_projects.rb
deleted file mode 100644
index d31bbb22392..00000000000
--- a/db/migrate/20160721081015_drop_and_readd_has_external_wiki_in_projects.rb
+++ /dev/null
@@ -1,19 +0,0 @@
-# rubocop:disable Migration/UpdateLargeTable
-# rubocop:disable Migration/UpdateColumnInBatches
-class DropAndReaddHasExternalWikiInProjects < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- # Set this constant to true if this migration requires downtime.
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- update_column_in_batches(:projects, :has_external_wiki, nil) do |table, query|
- query.where(table[:has_external_wiki].not_eq(nil))
- end
- end
-
- def down
- end
-end