Fix seed values and upgrade script
authorThomas Berezansky <tsbere@mvlc.org>
Wed, 13 Feb 2013 20:41:44 +0000 (15:41 -0500)
committerDan Wells <dbw2@calvin.edu>
Fri, 7 Jun 2013 19:22:32 +0000 (15:22 -0400)
enabled and label were out of order.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.purge_holds.sql

index e5ae671..43bc29a 100644 (file)
@@ -9004,7 +9004,7 @@ INSERT INTO config.global_flag (name,label,enabled)
         TRUE
     );
 
-INSERT INTO config.global_flag  (name, enabled, label)
+INSERT INTO config.global_flag  (name, label, enabled)
     VALUES (
         'history.hold.retention_age',
         oils_i18n_gettext('history.hold.retention_age', 'Historical Hold Retention Age', 'cgf', 'label'),
index 69ae1df..3a6714c 100644 (file)
@@ -1,6 +1,6 @@
 
 -- New global flags for the purge function
-INSERT INTO config.global_flag  (name, enabled, label)
+INSERT INTO config.global_flag  (name, label, enabled)
     VALUES (
         'history.hold.retention_age',
         oils_i18n_gettext('history.hold.retention_age', 'Historical Hold Retention Age', 'cgf', 'label'),