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"