mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-04-16 12:57:32 -04:00
Migration script fixes
This commit is contained in:
@@ -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 '%_%';
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user