doc/technical/archived_migrations/20160311153039_create_file_attachments.rb
class CreateFileAttachments < ActiveRecord::Migration
def change
create_table :file_attachments do |t|
t.references :attachable, polymorphic: true, index: true
t.string :description
t.timestamps null: false
end
end
end