Add pickup date

This additional date helps users to find the correct order if the time
between end and pickup varies a lot.
This commit is contained in:
Patrick Gansterer 2016-04-29 15:28:05 +02:00
parent 97f81d9826
commit f286dd6053
15 changed files with 59 additions and 9 deletions

View file

@ -0,0 +1,5 @@
class AddPickupToOrder < ActiveRecord::Migration
def change
add_column :orders, :pickup, :date
end
end

View file

@ -227,6 +227,7 @@ ActiveRecord::Schema.define(version: 20160217194036) do
t.decimal "foodcoop_result", precision: 8, scale: 2
t.integer "created_by_user_id", limit: 4
t.datetime "boxfill"
t.date "pickup"
t.integer "invoice_id"
end