demo_app/my_platform/db/migrate/20150325105864_create_stars.your_platform.rb
# This migration comes from your_platform (originally 20130220184943)
class CreateStars < ActiveRecord::Migration[4.2]
def change
create_table :stars do |t|
t.integer :starrable_id
t.string :starrable_type
t.integer :user_id
t.timestamps
end
end
end