class CreateHarvests < ActiveRecord::Migration
  def change
    create_table :harvests do |t|
      t.integer :crop_id, :null => false
      t.integer :owner_id, :null => false
      t.date :harvested_at
      t.decimal :quantity
      t.string :units
      t.text :notes

      t.timestamps
    end
  end
end
