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/20180531220618_change_default_value_for_dsa_key_restriction.rb')
-rw-r--r--db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb b/db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb
deleted file mode 100644
index cf621c46f2b..00000000000
--- a/db/migrate/20180531220618_change_default_value_for_dsa_key_restriction.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-class ChangeDefaultValueForDsaKeyRestriction < ActiveRecord::Migration[4.2]
- # Set this constant to true if this migration requires downtime.
- DOWNTIME = false
-
- def up
- change_column :application_settings, :dsa_key_restriction, :integer, null: false,
- default: -1
-
- execute("UPDATE application_settings SET dsa_key_restriction = -1")
- end
-
- def down
- change_column :application_settings, :dsa_key_restriction, :integer, null: false,
- default: 0
- end
-end