* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
12 lines
266 B
Ruby
12 lines
266 B
Ruby
class CreateAdvertisements < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :advertisements do |t|
|
|
t.string :name
|
|
t.text :body_html
|
|
t.string :kind
|
|
t.boolean :active, default: true
|
|
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|