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:
parent
97f81d9826
commit
f286dd6053
15 changed files with 59 additions and 9 deletions
5
db/migrate/20160217152621_add_pickup_to_order.rb
Normal file
5
db/migrate/20160217152621_add_pickup_to_order.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
class AddPickupToOrder < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :orders, :pickup, :date
|
||||
end
|
||||
end
|
||||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue