From: Galen Charlton Date: Wed, 24 Apr 2019 19:41:49 +0000 (-0400) Subject: LP#1778940: stamp schema update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ef7aabe1eab7701ede3e97ff9024bcdd8e084d0f;p=evergreen%2Ftadl.git LP#1778940: 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 b236d92e96..f86dd17f9c 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 ('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 index 0000000000..61f9d23260 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1161.schema.ate_outputs_indexes.sql @@ -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 index be05e8e50d..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.ate_outputs_indexes.sql +++ /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);