Migration script fixes

This commit is contained in:
jekkos
2018-09-16 23:43:55 +02:00
committed by jekkos
parent 9307ebbaa9
commit dbfe9b7e55
2 changed files with 6 additions and 1 deletions

View File

@@ -69,7 +69,8 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
('last_used_invoice_number', '0'),
('last_used_quote_number', '0'),
('line_sequence', '0'),
('dinner_table_enable', '0');
('dinner_table_enable', '0'),
('customer_sales_tax_support', '0');
--
-- Table structure for table `ospos_customer_packages`
@@ -415,3 +416,6 @@ ALTER TABLE ospos_items
-- Change language code en to be en-US
UPDATE `ospos_app_config` SET `value` = 'en-US' WHERE `key` = 'language_code' AND `value` = 'en';
-- Delete any configured specific locale as folders were moved in this version
DELETE FROM `ospos_app_config` WHERE `key` = 'language_code' and `value` LIKE '%_%';

View File

@@ -51,6 +51,7 @@ UPDATE `ospos_app_config` SET `key` = 'receipt_show_total_discount' WHERE `key`
DELETE FROM `ospos_app_config` WHERE `key` = 'use_invoice_template';
DELETE FROM `ospos_app_config` WHERE `key` = 'language';
DELETE FROM `ospos_app_config` WHERE `key` = 'thousands_separator';
INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
('receipt_show_description', '1'),