From: Galen Charlton Date: Mon, 27 Mar 2023 19:53:31 +0000 (-0400) Subject: LP#1972738: stamp schema update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=36b06264874bd1d7f014e34d12dd6e88cb2f2461;p=Evergreen.git LP#1972738: stamp schema update Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index b220fd4a82..e9a24cada6 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 ('1361', :eg_version); -- miker / Dyrcona / gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1362', :eg_version); -- Dyrcona / gmcharlt CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1362.schema.add-hopeless-date-index.sql b/Open-ILS/src/sql/Pg/upgrade/1362.schema.add-hopeless-date-index.sql new file mode 100644 index 0000000000..9fd49fd77d --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1362.schema.add-hopeless-date-index.sql @@ -0,0 +1,9 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1362', :eg_version); + +CREATE INDEX hold_request_hopeless_date_idx ON action.hold_request (hopeless_date); + +COMMIT; + +ANALYZE action.hold_request; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-hopeless-date-index.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-hopeless-date-index.sql deleted file mode 100644 index 7ed0399fe4..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-hopeless-date-index.sql +++ /dev/null @@ -1,9 +0,0 @@ -BEGIN; - ---SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -CREATE INDEX hold_request_hopeless_date_idx ON action.hold_request (hopeless_date); - -COMMIT; - -ANALYZE action.hold_request;