From 4bb597cb9dbced4beffbe0e9fd079c6bc624b3b7 Mon Sep 17 00:00:00 2001 From: Aung Myo Date: Mon, 5 Mar 2018 10:28:36 +0630 Subject: [PATCH] update saleitem migrate for status --- db/migrate/20170403161857_create_sale_items.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/db/migrate/20170403161857_create_sale_items.rb b/db/migrate/20170403161857_create_sale_items.rb index 27cf7ac4..2135e715 100755 --- a/db/migrate/20170403161857_create_sale_items.rb +++ b/db/migrate/20170403161857_create_sale_items.rb @@ -8,6 +8,7 @@ class CreateSaleItems < ActiveRecord::Migration[5.1] t.string :product_name, :null => false t.string :product_alt_name, :null => false t.integer :account_id, :limit => 8, :null => false, :default => 1 + t.string :status t.string :remark 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