* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
13 lines
315 B
Ruby
13 lines
315 B
Ruby
class CreateBroadcasts < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :broadcasts do |t|
|
|
t.string :title
|
|
t.text :body_markdown
|
|
t.text :processed_html
|
|
t.boolean :sent, default: false
|
|
t.string :type_of
|
|
end
|
|
|
|
remove_column :notifications, :body_html, :text
|
|
end
|
|
end
|