diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-06-01 21:48:31 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-06-01 21:48:31 +0800 |
commit | 7da88278c33d20d97cf0eabb76b3117219479d12 (patch) | |
tree | 347f66298605063e36895696472348e0cdff5a0a /db | |
parent | 0ab8c852db118701ae5a1d105c1da74a0b88f60f (diff) | |
download | gitlab-ce-7da88278c33d20d97cf0eabb76b3117219479d12.tar.gz |
Make sure protected can't be null; Test protected!24196-protected-variables
Diffstat (limited to 'db')
-rw-r--r-- | db/schema.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/db/schema.rb b/db/schema.rb index 1b62940e495..fa1c5dc15c4 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -356,7 +356,7 @@ ActiveRecord::Schema.define(version: 20170525174156) do t.string "encrypted_value_salt" t.string "encrypted_value_iv" t.integer "project_id", null: false - t.boolean "protected", default: false + t.boolean "protected", default: false, null: false end add_index "ci_variables", ["project_id"], name: "index_ci_variables_on_project_id", using: :btree @@ -1493,4 +1493,4 @@ ActiveRecord::Schema.define(version: 20170525174156) do add_foreign_key "trending_projects", "projects", on_delete: :cascade add_foreign_key "u2f_registrations", "users" add_foreign_key "web_hook_logs", "web_hooks", on_delete: :cascade -end
\ No newline at end of file +end |