From 140d62939a0f05ff20f3f990cb08acc9784a31c8 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Thu, 10 Nov 2016 11:29:30 +1100 Subject: [PATCH] Adding processing marker column standing_orders_placed_at to order cycles --- ...10002554_add_standing_orders_placed_at_to_order_cycles.rb | 5 +++++ db/schema.rb | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 db/migrate/20161110002554_add_standing_orders_placed_at_to_order_cycles.rb diff --git a/db/migrate/20161110002554_add_standing_orders_placed_at_to_order_cycles.rb b/db/migrate/20161110002554_add_standing_orders_placed_at_to_order_cycles.rb new file mode 100644 index 0000000000..9becae9930 --- /dev/null +++ b/db/migrate/20161110002554_add_standing_orders_placed_at_to_order_cycles.rb @@ -0,0 +1,5 @@ +class AddStandingOrdersPlacedAtToOrderCycles < ActiveRecord::Migration + def change + add_column :order_cycles, :standing_orders_placed_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index 9a534a590b..2abdbc1573 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -318,8 +318,9 @@ ActiveRecord::Schema.define(:version => 20170921065259) do t.datetime "orders_open_at" t.datetime "orders_close_at" t.integer "coordinator_id" - t.datetime "created_at", :null => false - t.datetime "updated_at", :null => false + t.datetime "created_at", :null => false + t.datetime "updated_at", :null => false + t.datetime "standing_orders_placed_at" end create_table "producer_properties", :force => true do |t|