demo_app/my_platform/db/migrate/20150325105859_create_attachments.your_platform.rb
# This migration comes from your_platform (originally 20120814100529)
class CreateAttachments < ActiveRecord::Migration[4.2]
def change
create_table :attachments do |t|
t.string :file
t.string :title
t.text :description
t.integer :parent_id
t.string :parent_type
t.timestamps
end
end
end