Add simple web hooks to procedures

This commit is contained in:
Paul Chavard 2018-03-01 17:04:05 +01:00
parent efaa99c489
commit 27592ae072
9 changed files with 79 additions and 9 deletions

View file

@ -0,0 +1,5 @@
class AddWebhookToProcedures < ActiveRecord::Migration[5.2]
def change
add_column :procedures, :web_hook_url, :string
end
end

View file

@ -453,6 +453,7 @@ ActiveRecord::Schema.define(version: 2018_04_04_113409) do
t.datetime "archived_at"
t.datetime "whitelisted_at"
t.boolean "ask_birthday", default: false, null: false
t.string "web_hook_url"
t.index ["hidden_at"], name: "index_procedures_on_hidden_at"
end