Adding canceled_at column to standing_orders table

This commit is contained in:
Rob Harrington
2016-12-07 10:21:31 +11:00
parent dd099eae54
commit 284103b6b6
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
class AddCanceledAtToStandingOrders < ActiveRecord::Migration
def change
add_column :standing_orders, :canceled_at, :datetime
end
end

View File

@@ -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"