* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
15 lines
416 B
Ruby
15 lines
416 B
Ruby
class CreatePulseSubscriptions < ActiveRecord::Migration[4.2]
|
|
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
|