Forward-port 3.2.6 upgrade script
authorDan Wells <dbw2@calvin.edu>
Fri, 24 May 2019 18:27:23 +0000 (14:27 -0400)
committerDan Wells <dbw2@calvin.edu>
Fri, 24 May 2019 18:27:23 +0000 (14:27 -0400)
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Open-ILS/src/sql/Pg/version-upgrade/3.2.5-3.2.6-upgrade-db.sql [new file with mode: 0644]

diff --git a/Open-ILS/src/sql/Pg/version-upgrade/3.2.5-3.2.6-upgrade-db.sql b/Open-ILS/src/sql/Pg/version-upgrade/3.2.5-3.2.6-upgrade-db.sql
new file mode 100644 (file)
index 0000000..7260e13
--- /dev/null
@@ -0,0 +1,11 @@
+--Upgrade Script for 3.2.5 to 3.2.6
+\set eg_version '''3.2.6'''
+BEGIN;
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('3.2.6', :eg_version);
+COMMIT;
+-- 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);