From 961df756c5f61abfafa9c6232b7127bfee11c33f Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Wed, 7 Dec 2016 15:23:37 +1100 Subject: [PATCH] Adding paused_at column to standing orders --- .../20161207042153_add_paused_at_to_standing_orders.rb | 5 +++++ db/schema.rb | 1 + 2 files changed, 6 insertions(+) create mode 100644 db/migrate/20161207042153_add_paused_at_to_standing_orders.rb diff --git a/db/migrate/20161207042153_add_paused_at_to_standing_orders.rb b/db/migrate/20161207042153_add_paused_at_to_standing_orders.rb new file mode 100644 index 0000000000..e6e6e95852 --- /dev/null +++ b/db/migrate/20161207042153_add_paused_at_to_standing_orders.rb @@ -0,0 +1,5 @@ +class AddPausedAtToStandingOrders < ActiveRecord::Migration + def change + add_column :standing_orders, :paused_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index a15b274457..ae35fd4ef8 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1100,6 +1100,7 @@ ActiveRecord::Schema.define(:version => 20170921065259) do t.integer "bill_address_id", :null => false t.integer "ship_address_id", :null => false t.datetime "canceled_at" + t.datetime "paused_at" end add_index "standing_orders", ["bill_address_id"], :name => "index_standing_orders_on_bill_address_id"