LP1960956 Stamping DB upgrade / usr message index
authorBill Erickson <berickxx@gmail.com>
Wed, 16 Mar 2022 18:36:28 +0000 (14:36 -0400)
committerBill Erickson <berickxx@gmail.com>
Wed, 16 Mar 2022 18:46:46 +0000 (14:46 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1312.schema.add_editor_index_to_usr_message.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add_editor_index_to_usr_message.sql [deleted file]

index 745b986..82b023d 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 ('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 (file)
index 0000000..410a10b
--- /dev/null
@@ -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 (file)
index 410a10b..0000000
+++ /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;