From: Galen Charlton Date: Mon, 27 Jul 2020 14:16:37 +0000 (-0400) Subject: LP#1248734: (follow-up) add new indexes to schema update script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=ebbdca4cde8eb4480266562a675545570d137ea4;p=evergreen%2Ftadl.git LP#1248734: (follow-up) add new indexes to schema update script Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lp1248734_add_ws_to_ihu.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lp1248734_add_ws_to_ihu.sql index 5cb74bfb2d..a96e148faa 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lp1248734_add_ws_to_ihu.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.lp1248734_add_ws_to_ihu.sql @@ -5,4 +5,7 @@ BEGIN; ALTER TABLE action.in_house_use ADD COLUMN workstation INT REFERENCES actor.workstation (id) DEFERRABLE INITIALLY DEFERRED; ALTER TABLE action.non_cat_in_house_use ADD COLUMN workstation INT REFERENCES actor.workstation (id) DEFERRABLE INITIALLY DEFERRED; +CREATE INDEX action_in_house_use_ws_idx ON action.in_house_use ( workstation ); +CREATE INDEX non_cat_in_house_use_ws_idx ON action.non_cat_in_house_use ( workstation ); + COMMIT;