LP1947595: stamp upgrade script
authorJane Sandberg <sandbergja@gmail.com>
Fri, 11 Feb 2022 03:30:06 +0000 (19:30 -0800)
committerJane Sandberg <sandbergja@gmail.com>
Fri, 11 Feb 2022 03:30:06 +0000 (19:30 -0800)
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1310.function.remove-array_accum.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.function.remove-array_accum.sql [deleted file]

index 952971b..41636c7 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 ('1309', :eg_version); -- malexander/willisb/sandbergja
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1310', :eg_version); -- Dyrcona/jboyer/sandbergja
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1310.function.remove-array_accum.sql b/Open-ILS/src/sql/Pg/upgrade/1310.function.remove-array_accum.sql
new file mode 100644 (file)
index 0000000..9edb0e5
--- /dev/null
@@ -0,0 +1,7 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1310', :eg_version);
+
+DROP AGGREGATE IF EXISTS array_accum(anyelement) CASCADE;
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.remove-array_accum.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.function.remove-array_accum.sql
deleted file mode 100644 (file)
index 864f23f..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-BEGIN;
-
---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-DROP AGGREGATE IF EXISTS array_accum(anyelement) CASCADE;
-
-COMMIT;