OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/modules/webhooks/db/migrate/20171219145752_create_webho...

19 lines
417 B

class CreateWebhookLogs < ActiveRecord::Migration[5.0]
def change
create_table :webhooks_logs do |t|
t.references :webhooks_webhook, foreign_key: { on_delete: :cascade }
t.string :event_name
t.string :url
t.text :request_headers
t.text :request_body
t.integer :response_code
t.text :response_headers
t.text :response_body
t.timestamps
end
end
end