From 284103b6b69fac38bf9092f0f90cc5f95f546948 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Wed, 7 Dec 2016 10:21:31 +1100 Subject: [PATCH] Adding canceled_at column to standing_orders table --- .../20161206232009_add_canceled_at_to_standing_orders.rb | 5 +++++ db/schema.rb | 1 + 2 files changed, 6 insertions(+) create mode 100644 db/migrate/20161206232009_add_canceled_at_to_standing_orders.rb diff --git a/db/migrate/20161206232009_add_canceled_at_to_standing_orders.rb b/db/migrate/20161206232009_add_canceled_at_to_standing_orders.rb new file mode 100644 index 0000000000..f004e28557 --- /dev/null +++ b/db/migrate/20161206232009_add_canceled_at_to_standing_orders.rb @@ -0,0 +1,5 @@ +class AddCanceledAtToStandingOrders < ActiveRecord::Migration + def change + add_column :standing_orders, :canceled_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index 8f2b3f1d35..a43d2465e0 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1099,6 +1099,7 @@ ActiveRecord::Schema.define(:version => 20170921065259) do t.datetime "updated_at", :null => false t.integer "bill_address_id", :null => false t.integer "ship_address_id", :null => false + t.datetime "canceled_at" end add_index "standing_orders", ["bill_address_id"], :name => "index_standing_orders_on_bill_address_id"