From bab2fc2a8bb7a08fe2f71aa6139d70d400628621 Mon Sep 17 00:00:00 2001 From: phyusin Date: Tue, 28 Aug 2018 11:10:47 +0630 Subject: [PATCH] migrate field type changed --- db/migrate/20180406080240_create_order_reservations.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20180406080240_create_order_reservations.rb b/db/migrate/20180406080240_create_order_reservations.rb index f5a46dd2..96dd0b22 100644 --- a/db/migrate/20180406080240_create_order_reservations.rb +++ b/db/migrate/20180406080240_create_order_reservations.rb @@ -4,7 +4,7 @@ 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.string :requested_time, :null => false + t.datetime :requested_time, :null => false t.string :callback_url, :null => false t.string :transaction_ref, :null => false t.string :sale_id