From f44cb55dc1af4aaf09225eb5acd32d19d45dd867 Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Sun, 14 May 2023 16:30:15 -0400 Subject: [PATCH] Push the sequence up for i18n_string Reserve the first 10,000 for EG interfaces. Later, we may want add the delete permission back for pcrud and implement readonly ranges and flairs for (Basic)AdminPageComponent, like we do for the standing penalties interface. Signed-off-by: Jason Etheridge --- Open-ILS/src/sql/Pg/950.data.seed-values.sql | 1 + Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql | 1 + 2 files changed, 2 insertions(+) diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 3b3e3a6df5..0e8285e03f 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -18964,6 +18964,7 @@ INSERT INTO config.i18n_core (fq_field, identity_value, translation, string ) AND t.name <> (xlate->value); INSERT INTO config.i18n_string (id, context, string) VALUES (1, 'In the Place Hold interfaces for staff and patrons; when monographic parts are available, this string provides contextual information about whether and how parts are considered for holds that do not request a specific mongraphic part.', 'All Parts'); +SELECT SETVAL('config.i18n_string_id_seq', 10000); -- reserve some for stock EG interfaces INSERT INTO authority.heading_field(heading_type, heading_purpose, label, heading_xpath, component_xpath, type_xpath, thesaurus_xpath, thesaurus_override_xpath) VALUES ( 'topical_term', 'main', 'Main Topical Term', '/mads21:mads/mads21:authority', '//mads21:topic', NULL, '/mads21:mads/mads21:authority/mads21:topic[1]/@authority', NULL ) diff --git a/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql b/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql index 672ef8eb46..583adcc912 100644 --- a/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql +++ b/Open-ILS/src/sql/Pg/upgrade/YYYY.schema.eparts.sql @@ -15,5 +15,6 @@ CREATE TABLE config.i18n_string ( -- 950.data.seed-values.sql INSERT INTO config.i18n_string (id, context, string) VALUES (1, 'In the Place Hold interfaces for staff and patrons; when monographic parts are available, this string provides contextual information about whether and how parts are considered for holds that do not request a specific mongraphic part.', 'All Parts'); +SELECT SETVAL('config.i18n_string_id_seq', 10000); -- reserve some for stock EG interfaces COMMIT; -- 2.11.0