From: Jane Sandberg Date: Fri, 11 Feb 2022 03:30:06 +0000 (-0800) Subject: LP1947595: stamp upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9582ea41ef57dbc6068a5c9eb6a4c9400f8c3c89;p=evergreen%2Ftadl.git LP1947595: stamp 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 952971b41f..41636c7d65 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 ('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 index 0000000000..9edb0e5b1b --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1310.function.remove-array_accum.sql @@ -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 index 864f23f42c..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.function.remove-array_accum.sql +++ /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;