From: Katrin Fischer Date: Tue, 17 Apr 2018 00:17:09 +0000 (+0000) Subject: Bug 19794: (follow-up) Add atomic update X-Git-Tag: v18.05.00-rc1~259 X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=commitdiff_plain;h=233be0fe1390022d45edf1811675c12ad45d2f22;p=koha_ffzg Bug 19794: (follow-up) Add atomic update The update will - change the RLIST notice code to SERIAL_ALERT - adapt the description if it has remained unchanged from 'Routing List' to 'New serial issue' - update subscriptions to use the new notice code Signed-off-by: Josef Moravec Signed-off-by: Jonathan Druart --- diff --git a/installer/data/mysql/atomicupdate/bug_19794_update_rlist.sql b/installer/data/mysql/atomicupdate/bug_19794_update_rlist.sql new file mode 100644 index 0000000000..05fe219594 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_19794_update_rlist.sql @@ -0,0 +1,4 @@ +UPDATE letter SET code = "SERIAL_ALERT" WHERE code = "RLIST"; +UPDATE letter SET name = "New serial issue" WHERE name = "Routing List"; +UPDATE subscription SET letter = "SERIAL_ALERT" WHERE letter = "RLIST"; +-- print Bug 19794: Rename RLIST notice to SERIAL_ALERT