From: Jane Sandberg Date: Fri, 14 Oct 2022 22:02:06 +0000 (-0700) Subject: LP1501870: stamping upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e170fc83f2bcaa5a3936b1b7e2625d02f8e919c1;p=working%2FEvergreen.git LP1501870: stamping upgrade script Signed-off-by: Jane Sandberg --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index ddf48dada3..8972ee8001 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -92,7 +92,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 ('1337', :eg_version); -- khuckins/tmccanna/cmorgan/willis/mmorgan +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1338', :eg_version); -- mmorgan/gcollum/sandbergja CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1338.schema.remove_invalid_search_attribute.sql b/Open-ILS/src/sql/Pg/upgrade/1338.schema.remove_invalid_search_attribute.sql new file mode 100644 index 0000000000..dbd592f161 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1338.schema.remove_invalid_search_attribute.sql @@ -0,0 +1,9 @@ +-- remove invalid search attribute Item Type from LC Z39.50 target + +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1338', :eg_version); + +DELETE FROM config.z3950_attr WHERE source = 'loc' AND code = 1001; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.remove_invalid_search_attribute.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.remove_invalid_search_attribute.sql deleted file mode 100644 index 0bb68afd28..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.remove_invalid_search_attribute.sql +++ /dev/null @@ -1,9 +0,0 @@ --- remove invalid search attribute Item Type from LC Z39.50 target - -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -DELETE FROM config.z3950_attr WHERE source = 'loc' AND code = 1001; - -COMMIT;