From: Bill Erickson Date: Wed, 16 Mar 2022 18:36:28 +0000 (-0400) Subject: LP1960956 Stamping DB upgrade / usr message index X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e916e822f4bd69ee7ffdfa089561f52fcc304f80;p=Evergreen.git LP1960956 Stamping DB upgrade / usr message index Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 745b986415..82b023d223 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 ('1311', :eg_version); -- miker/Dyrcona/jvwoolf/mmorgan +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1312', :eg_version); -- csharp/berick CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1312.schema.add_editor_index_to_usr_message.sql b/Open-ILS/src/sql/Pg/upgrade/1312.schema.add_editor_index_to_usr_message.sql new file mode 100644 index 0000000000..410a10bf5c --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1312.schema.add_editor_index_to_usr_message.sql @@ -0,0 +1,7 @@ +BEGIN; + +-- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +CREATE INDEX aum_editor ON actor.usr_message (editor); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add_editor_index_to_usr_message.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add_editor_index_to_usr_message.sql deleted file mode 100644 index 410a10bf5c..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add_editor_index_to_usr_message.sql +++ /dev/null @@ -1,7 +0,0 @@ -BEGIN; - --- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -CREATE INDEX aum_editor ON actor.usr_message (editor); - -COMMIT;