class CreateSubstitutes < ActiveRecord::Migration[5.0]
  def change
    create_table :substitutes do |t|
      t.string :quantity, default: ""
      t.references :equalable, polymorphic: true, index: true
      # t.references :workout, index: true
      t.references :portion, index: true

    end
  end
end