summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-01 17:38:47 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:10 +0900
commit23ac401b6e9883d2bd6beaef30e686d67ece791e (patch)
tree6e3ba6098529a6f8e5943596430e168b3b3e9e86 /db/migrate
parent0968e6ad4240eae8016340a550b4d871d823a903 (diff)
downloadgitlab-ce-23ac401b6e9883d2bd6beaef30e686d67ece791e.tar.gz
Allow null for protected attribute in ci_pipelines
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20170731132235_add_protected_to_ci_pipelines.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170731132235_add_protected_to_ci_pipelines.rb b/db/migrate/20170731132235_add_protected_to_ci_pipelines.rb
index bc034f99609..d2d2b6733f6 100644
--- a/db/migrate/20170731132235_add_protected_to_ci_pipelines.rb
+++ b/db/migrate/20170731132235_add_protected_to_ci_pipelines.rb
@@ -6,7 +6,7 @@ class AddProtectedToCiPipelines < ActiveRecord::Migration
disable_ddl_transaction!
def up
- add_column_with_default(:ci_pipelines, :protected, :boolean, default: false)
+ add_column(:ci_pipelines, :protected, :boolean)
end
def down