From: dbs Date: Thu, 11 Feb 2010 20:09:17 +0000 (+0000) Subject: In renaming the config.recuring_fine table, the associated sequence was not automatic... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d707dfb4d27745fa2a3e6ef4fa40fa0d72a57f17;p=evergreen%2Fpines.git In renaming the config.recuring_fine table, the associated sequence was not automatically renamed; fix that. This manifested in errors thrown while manipulating recurring fines due to the expectation that the sequence would be named differently than it was. git-svn-id: svn://svn.open-ils.org/ILS/trunk@15504 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/upgrade/0085.schema.config.recuring_fine.sql b/Open-ILS/src/sql/Pg/upgrade/0085.schema.config.recuring_fine.sql index 5e5a7ffa02..a527b897df 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0085.schema.config.recuring_fine.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0085.schema.config.recuring_fine.sql @@ -118,4 +118,7 @@ UPDATE permission.perm_list SET code = 'ADMIN_RECURRING_FINE_RULE' WHERE code = UPDATE reporter.template SET data = REGEXP_REPLACE(data, E'^(.*)recuring(.*)$', E'\\1recurring\\2') WHERE data LIKE '%recuring%'; UPDATE reporter.template SET data = REGEXP_REPLACE(data, E'^(.*)recurance(.*)$', E'\\1recurrence\\2') WHERE data LIKE '%recurance%'; +-- Update the sequence associated with the table +ALTER TABLE config.rule_recuring_fine_id_seq RENAME TO rule_recurring_fine_id_seq; + COMMIT;