Added change from item_pic to pic_id in Items table in 2.3.2_to_2.3.3.sql script (#945)

This commit is contained in:
FrancescoUK
2016-10-29 20:31:23 +01:00
parent ef5c513f1b
commit 17c23ad417

View File

@@ -9,6 +9,9 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
ALTER TABLE `ospos_sales_suspended`
DROP KEY `invoice_number`;
ALTER TABLE `ospos_items`
CHANGE COLUMN `item_pic` `pic_id` int(10) DEFAULT NULL;
-- Clear out emptied comments (0 inserted in comment if empty #192)
UPDATE `ospos_sales` SET comment = NULL WHERE comment = '0';
UPDATE `ospos_receivings` SET comment = NULL WHERE comment = '0';