LP#1778940: stamp schema update
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 24 Apr 2019 19:41:49 +0000 (15:41 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 24 Apr 2019 19:41:49 +0000 (15:41 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1161.schema.ate_outputs_indexes.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.ate_outputs_indexes.sql [deleted file]

index b236d92..f86dd17 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 ('1160', :eg_version); -- berick/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1161', :eg_version); -- jboyer/stompro/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1161.schema.ate_outputs_indexes.sql b/Open-ILS/src/sql/Pg/upgrade/1161.schema.ate_outputs_indexes.sql
new file mode 100644 (file)
index 0000000..61f9d23
--- /dev/null
@@ -0,0 +1,6 @@
+-- No transaction needed. This can be run on a live, production server.
+SELECT evergreen.upgrade_deps_block_check('1161', :eg_version); -- jboyer/stompro/gmcharlt
+
+CREATE INDEX CONCURRENTLY atev_template_output ON action_trigger.event (template_output);
+CREATE INDEX CONCURRENTLY atev_async_output ON action_trigger.event (async_output);
+CREATE INDEX CONCURRENTLY atev_error_output ON action_trigger.event (error_output);
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.ate_outputs_indexes.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.ate_outputs_indexes.sql
deleted file mode 100644 (file)
index be05e8e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
--- No transaction needed. This can be run on a live, production server.
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-CREATE INDEX CONCURRENTLY atev_template_output ON action_trigger.event (template_output);
-CREATE INDEX CONCURRENTLY atev_async_output ON action_trigger.event (async_output);
-CREATE INDEX CONCURRENTLY atev_error_output ON action_trigger.event (error_output);