add new field in order reservation
This commit is contained in:
@@ -4,7 +4,8 @@ class CreateOrderReservations < ActiveRecord::Migration[5.1]
|
||||
t.string :order_reservation_id, :limit => 16, :primary_key => true
|
||||
t.string :order_reservation_type, :null => false
|
||||
t.string :customer_id, :null => false
|
||||
t.datetime :requested_time, :null => false
|
||||
t.datetime :requested_time, :null => false
|
||||
t.datetime :pickup_time, :null => false
|
||||
t.string :callback_url, :null => false
|
||||
t.string :transaction_ref, :null => false
|
||||
t.string :sale_id
|
||||
@@ -23,6 +24,7 @@ class CreateOrderReservations < ActiveRecord::Migration[5.1]
|
||||
t.string :status, :null => false, :default => "new"
|
||||
t.string :order_remark
|
||||
t.string :remark
|
||||
t.json :action_times
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user