* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
11 lines
279 B
Ruby
11 lines
279 B
Ruby
class CreateSponsorships < ActiveRecord::Migration[4.2]
|
|
def change
|
|
create_table :sponsorships do |t|
|
|
t.integer :sponsor_id
|
|
t.integer :sponsorable_id
|
|
t.string :sponsorable_type
|
|
t.string :description
|
|
t.timestamps null: false
|
|
end
|
|
end
|
|
end
|