diff --git a/database/2.3.2_to_2.3.3.sql b/database/2.3.2_to_2.3.3.sql index 958e5b5ae..bc1a92757 100644 --- a/database/2.3.2_to_2.3.3.sql +++ b/database/2.3.2_to_2.3.3.sql @@ -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`; \ No newline at end of file + 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'; \ No newline at end of file