From 22236cc1a0e1f0745578c9fa3ee70576459d0edf Mon Sep 17 00:00:00 2001 From: hugh-unicenta Date: Thu, 4 May 2023 14:03:50 +0100 Subject: [PATCH] #8 5.0 migration fix Fix for #8 migration fix --- .../com/unicenta/pos/scripts/MySQL-upgrade_master.sql | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/resources/com/unicenta/pos/scripts/MySQL-upgrade_master.sql b/src/main/resources/com/unicenta/pos/scripts/MySQL-upgrade_master.sql index b9be8c6..22a4feb 100644 --- a/src/main/resources/com/unicenta/pos/scripts/MySQL-upgrade_master.sql +++ b/src/main/resources/com/unicenta/pos/scripts/MySQL-upgrade_master.sql @@ -44,6 +44,11 @@ COMMIT; UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/customer.updated.xml} WHERE name = 'Customer.Updated'; COMMIT; +UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/script.Linediscount.txt} WHERE name = 'script.Linediscount'; +COMMIT; + +UPDATE resources SET content = $FILE{/com/unicenta/pos/templates/script.Totaldiscount.txt} WHERE name = 'script.Totaldiscount'; +COMMIT; -- ROLES DELETE FROM roles WHERE id = '0';