docbrown/db/migrate/20160120012230_create_pulse_subscriptions.rb
2018-02-28 16:11:08 -05:00

15 lines
411 B
Ruby

class CreatePulseSubscriptions < ActiveRecord::Migration
def change
create_table :pulse_subscriptions do |t|
t.string :team_name
t.string :team_code
t.string :channel
t.string :pulses, default: [].to_yaml
t.string :access_token
t.string :config_url
t.string :sending_url
t.string :scope, default: [].to_yaml
t.timestamps null: false
end
end
end