From 0ce741b499b1e3310e4d8fce8d99ff48dd1bb2df Mon Sep 17 00:00:00 2001 From: phyusin Date: Mon, 7 Jan 2019 16:38:59 +0630 Subject: [PATCH] change data type for remark --- db/migrate/20180406080359_create_order_reservation_items.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db/migrate/20180406080359_create_order_reservation_items.rb b/db/migrate/20180406080359_create_order_reservation_items.rb index c74900dd..c2e07f75 100644 --- a/db/migrate/20180406080359_create_order_reservation_items.rb +++ b/db/migrate/20180406080359_create_order_reservation_items.rb @@ -13,7 +13,7 @@ class CreateOrderReservationItems < ActiveRecord::Migration[5.1] t.decimal :qty, :precision => 10, :scale => 2, :null => false, :default => 0.00 t.decimal :unit_price, :precision => 10, :scale => 2, :null => false, :default => 0.00 t.decimal :price, :precision => 10, :scale => 2, :null => false, :default => 0.00 - t.string :remark + t.longtext :remark t.string :options t.boolean :taxable, :null => false, :default => true t.timestamps