From: Mike Rylander Date: Wed, 10 Jul 2013 16:44:33 +0000 (-0400) Subject: Stamping upgrade script for Desk Renewal Circ Lib X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6bf2e8f997c28fb4c26a0565ff8ce1cb7cc36341;p=evergreen%2Fmasslnc.git Stamping upgrade script for Desk Renewal Circ Lib Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index b7794293ea..37a0633ff9 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -91,7 +91,7 @@ CREATE TRIGGER no_overlapping_deps BEFORE INSERT OR UPDATE ON config.db_patch_dependencies FOR EACH ROW EXECUTE PROCEDURE evergreen.array_overlap_check ('deprecates'); -INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0804', :eg_version); -- paxed/remingtron/bshum/dbwells +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0805', :eg_version); -- bshum/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0805.schema.desk_renewal_reuse_circ_lib.sql b/Open-ILS/src/sql/Pg/upgrade/0805.schema.desk_renewal_reuse_circ_lib.sql new file mode 100644 index 0000000000..4d01923893 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0805.schema.desk_renewal_reuse_circ_lib.sql @@ -0,0 +1,18 @@ +BEGIN; + +-- check whether patch can be applied +SELECT evergreen.upgrade_deps_block_check('0805', :eg_version); + +INSERT INTO config.global_flag (name, label, enabled) + VALUES ( + 'circ.desk_renewal.use_original_circ_lib', + oils_i18n_gettext( + 'circ.desk_renewal.use_original_circ_lib', + 'Circ: Use original circulation library on desk renewal instead of user home library', + 'cgf', + 'label' + ), + FALSE + ); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.desk_renewal_reuse_circ_lib.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.desk_renewal_reuse_circ_lib.sql deleted file mode 100644 index 328643651a..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.desk_renewal_reuse_circ_lib.sql +++ /dev/null @@ -1,18 +0,0 @@ -BEGIN; - --- check whether patch can be applied -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO config.global_flag (name, label, enabled) - VALUES ( - 'circ.desk_renewal.use_original_circ_lib', - oils_i18n_gettext( - 'circ.desk_renewal.use_original_circ_lib', - 'Circ: Use original circulation library on desk renewal instead of user home library', - 'cgf', - 'label' - ), - FALSE - ); - -COMMIT;