mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-29 06:21:16 +00:00
WIP: Adding flags for standing order placement and confirmation to proxy_orders table
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
class AddPlacedAtAndConfirmedAtToProxyOrders < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :proxy_orders, :placed_at, :datetime
|
||||
add_column :proxy_orders, :confirmed_at, :datetime
|
||||
end
|
||||
end
|
||||
@@ -357,6 +357,8 @@ ActiveRecord::Schema.define(:version => 20170921065259) do
|
||||
t.datetime "created_at", :null => false
|
||||
t.datetime "updated_at", :null => false
|
||||
t.integer "order_cycle_id", :null => false
|
||||
t.datetime "placed_at"
|
||||
t.datetime "confirmed_at"
|
||||
end
|
||||
|
||||
add_index "proxy_orders", ["order_cycle_id", "standing_order_id"], :name => "index_proxy_orders_on_order_cycle_id_and_standing_order_id", :unique => true
|
||||
|
||||
Reference in New Issue
Block a user