LP1501870: stamping upgrade script
authorJane Sandberg <js7389@princeton.edu>
Fri, 14 Oct 2022 22:02:06 +0000 (15:02 -0700)
committerJane Sandberg <js7389@princeton.edu>
Fri, 14 Oct 2022 22:07:58 +0000 (15:07 -0700)
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1338.schema.remove_invalid_search_attribute.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.remove_invalid_search_attribute.sql [deleted file]

index ddf48da..8972ee8 100644 (file)
@@ -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 (file)
index 0000000..dbd592f
--- /dev/null
@@ -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 (file)
index 0bb68af..0000000
+++ /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;