From: Mike Rylander Date: Fri, 25 May 2012 14:59:38 +0000 (-0400) Subject: Stamping upgrade script for the flattener-based pull list X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f77d3e4c08f2422a4a5cf3dda390ee18c5546202;p=contrib%2FConifer.git Stamping upgrade script for the flattener-based pull list 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 e6f7c4744d..a5c7d98497 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -87,7 +87,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 ('0712', :eg_version); -- berick/miker +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0713', :eg_version); -- senator/miker CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/0713.data.simplified-hold-pull-list.sql b/Open-ILS/src/sql/Pg/upgrade/0713.data.simplified-hold-pull-list.sql new file mode 100644 index 0000000000..cbf70c576f --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/0713.data.simplified-hold-pull-list.sql @@ -0,0 +1,24 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('0713', :eg_version); + +INSERT INTO config.usr_setting_type (name,grp,opac_visible,label,description,datatype) VALUES ( + 'ui.grid_columns.circ.hold_pull_list', + 'gui', + FALSE, + oils_i18n_gettext( + 'ui.grid_columns.circ.hold_pull_list', + 'Hold Pull List', + 'cust', + 'label' + ), + oils_i18n_gettext( + 'ui.grid_columns.circ.hold_pull_list', + 'Hold Pull List Saved Column Settings', + 'cust', + 'description' + ), + 'string' +); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.simplified-hold-pull-list.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.simplified-hold-pull-list.sql deleted file mode 100644 index eeff3eab04..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.simplified-hold-pull-list.sql +++ /dev/null @@ -1,24 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO config.usr_setting_type (name,grp,opac_visible,label,description,datatype) VALUES ( - 'ui.grid_columns.circ.hold_pull_list', - 'gui', - FALSE, - oils_i18n_gettext( - 'ui.grid_columns.circ.hold_pull_list', - 'Hold Pull List', - 'cust', - 'label' - ), - oils_i18n_gettext( - 'ui.grid_columns.circ.hold_pull_list', - 'Hold Pull List Saved Column Settings', - 'cust', - 'description' - ), - 'string' -); - -COMMIT;