mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-02-18 14:48:42 -05:00
Clear out empty sales and receivings comments on database upgrade
(#192)
This commit is contained in:
@@ -6,4 +6,9 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
|
||||
('timeformat', 'H:i:s');
|
||||
|
||||
ALTER TABLE `ospos_sales_suspended`
|
||||
DROP KEY `invoice_number`;
|
||||
DROP KEY `invoice_number`;
|
||||
|
||||
-- Clear out emptied comments (0 inserted in comments if emtpy ##192)
|
||||
UPDATE `ospos_sales` SET comment = NULL WHERE comment = '0';
|
||||
UPDATE `ospos_receivings` SET comment = NULL WHERE comment = '0';
|
||||
UPDATE `ospos_sales_suspended` SET comment = NULL WHERE comment = '0';
|
||||
Reference in New Issue
Block a user