Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20180704204006_add_hide_third_party_offers_to_application_settings.rb')
-rw-r--r--db/migrate/20180704204006_add_hide_third_party_offers_to_application_settings.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/db/migrate/20180704204006_add_hide_third_party_offers_to_application_settings.rb b/db/migrate/20180704204006_add_hide_third_party_offers_to_application_settings.rb
deleted file mode 100644
index b037f72a964..00000000000
--- a/db/migrate/20180704204006_add_hide_third_party_offers_to_application_settings.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-class AddHideThirdPartyOffersToApplicationSettings < ActiveRecord::Migration[4.2]
- include Gitlab::Database::MigrationHelpers
-
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_column_with_default(:application_settings, :hide_third_party_offers, # rubocop:disable Migration/AddColumnWithDefault
- :boolean,
- default: false,
- allow_null: false)
- end
-
- def down
- remove_column(:application_settings, :hide_third_party_offers)
- end
-end