diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-08-11 09:59:40 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-08-26 15:48:31 +0300 |
commit | bafffb2d14e1924154d5b7c74c7b3cbcf8c898fd (patch) | |
tree | 9e404f30a04e41e2e70456f2959a1780717981ae /db | |
parent | add099b024cc4155a5be494fdb9ae339fd073a14 (diff) |
Enable SSL verification for Webhooks
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20150824002011_add_enable_ssl_verification.rb | 5 | ||||
-rw-r--r-- | db/schema.rb | 15 |
2 files changed, 13 insertions, 7 deletions
diff --git a/db/migrate/20150824002011_add_enable_ssl_verification.rb b/db/migrate/20150824002011_add_enable_ssl_verification.rb new file mode 100644 index 00000000000..093c068fbde --- /dev/null +++ b/db/migrate/20150824002011_add_enable_ssl_verification.rb @@ -0,0 +1,5 @@ +class AddEnableSslVerification < ActiveRecord::Migration + def change + add_column :web_hooks, :enable_ssl_verification, :boolean, default: false + end +end diff --git a/db/schema.rb b/db/schema.rb index 108c48bf321..7ee1c6e2146 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -11,7 +11,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 20150818213832) do +ActiveRecord::Schema.define(version: 20150824002011) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -566,13 +566,14 @@ ActiveRecord::Schema.define(version: 20150818213832) do t.integer "project_id" t.datetime "created_at" t.datetime "updated_at" - t.string "type", default: "ProjectHook" + t.string "type", default: "ProjectHook" t.integer "service_id" - t.boolean "push_events", default: true, null: false - t.boolean "issues_events", default: false, null: false - t.boolean "merge_requests_events", default: false, null: false - t.boolean "tag_push_events", default: false - t.boolean "note_events", default: false, null: false + t.boolean "push_events", default: true, null: false + t.boolean "issues_events", default: false, null: false + t.boolean "merge_requests_events", default: false, null: false + t.boolean "tag_push_events", default: false + t.boolean "note_events", default: false, null: false + t.boolean "enable_ssl_verification", default: false end add_index "web_hooks", ["created_at", "id"], name: "index_web_hooks_on_created_at_and_id", using: :btree |