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"