discourse/db/migrate/20160905082248_create_web_hooks.rb

17 lines
560 B
Ruby
Raw Normal View History

2016-06-15 12:49:57 -05:00
class CreateWebHooks < ActiveRecord::Migration
def change
create_table :web_hooks do |t|
t.string :payload_url, null: false
t.integer :content_type, default: 1, null: false
t.integer :last_delivery_status, default: 1, null: false
t.integer :status, default: 1, null: false
t.string :secret, default: ''
t.boolean :wildcard_web_hook, default: false, null: false
t.boolean :verify_certificate, default: true, null: false
t.boolean :active, default: false, null: false
t.timestamps
end
end
end