diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-01 17:38:47 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:10 +0900 |
commit | 23ac401b6e9883d2bd6beaef30e686d67ece791e (patch) | |
tree | 6e3ba6098529a6f8e5943596430e168b3b3e9e86 /db/migrate | |
parent | 0968e6ad4240eae8016340a550b4d871d823a903 (diff) | |
download | gitlab-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.rb | 2 |
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 |