summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-06-30 18:59:41 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-06 16:33:45 +0900
commit94f8adf161b19f2ada568a24065c5c9d9b50893f (patch)
tree833a4f5a1328ecc365acdddb5555a785c0ef7e52
parenteec558b1316ed95fb97c90b340c7f4050489fcda (diff)
downloadgitlab-ce-94f8adf161b19f2ada568a24065c5c9d9b50893f.tar.gz
Add protected flag to migration file
-rw-r--r--db/migrate/20170525130346_create_group_variables_table.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20170525130346_create_group_variables_table.rb b/db/migrate/20170525130346_create_group_variables_table.rb
index 7e09ead69e3..2da1c782a1b 100644
--- a/db/migrate/20170525130346_create_group_variables_table.rb
+++ b/db/migrate/20170525130346_create_group_variables_table.rb
@@ -9,6 +9,7 @@ class CreateGroupVariablesTable < ActiveRecord::Migration
t.string :encrypted_value_salt
t.string :encrypted_value_iv
t.integer :group_id, null: false
+ t.boolean :protected, default: false, null: false
t.timestamps null: false
end