* missing rails version 4.2 added to pre 5 migrations * updated carrierwave.rb and sitemap.rb with AWS_DEFAULT_REGION
7 lines
246 B
Ruby
7 lines
246 B
Ruby
class AddPolymorphismToComments < ActiveRecord::Migration[4.2]
|
|
def change
|
|
add_column :comments, :commentable_id, :integer
|
|
add_column :comments, :commentable_type, :string
|
|
add_column :comments, :score, :integer, default: 0
|
|
end
|
|
end
|