[open-ils-commits] ***SPAM*** [GIT] Evergreen ILS branch master updated. 896dea54555012783ca795fb4bbc40a7d22695fc
Evergreen Git
git at git.evergreen-ils.org
Fri Oct 10 11:36:41 EDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, master has been updated
via 896dea54555012783ca795fb4bbc40a7d22695fc (commit)
via 44bca3b72676dddd20b634e559e6a1499a480b28 (commit)
from 2b3925b83e0f6b3777a54bd714fae5975ae650f9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 896dea54555012783ca795fb4bbc40a7d22695fc
Author: Ben Shum <bshum at biblio.org>
Date: Fri Oct 10 11:35:25 2014 -0400
LP#1374551: Stamping upgrade script for new index on money.billing.voider
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql
index 7a16149..487a94f 100644
--- a/Open-ILS/src/sql/Pg/002.schema.config.sql
+++ b/Open-ILS/src/sql/Pg/002.schema.config.sql
@@ -91,7 +91,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 ('0893', :eg_version); -- csharp/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0894', :eg_version); -- csharp/bshum
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql b/Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql
similarity index 53%
rename from Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql
rename to Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql
index 71fd220..5fb3649 100644
--- a/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql
+++ b/Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql
@@ -1,6 +1,6 @@
BEGIN;
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('0894', :eg_version);
CREATE INDEX m_b_voider_idx ON money.billing (voider);
commit 44bca3b72676dddd20b634e559e6a1499a480b28
Author: Chris Sharp <csharp at georgialibraries.org>
Date: Fri Sep 26 14:19:22 2014 -0400
LP#1374551: Create index on money.billing.voider to speed user merge.
Signed-off-by: Chris Sharp <csharp at georgialibraries.org>
Signed-off-by: Ben Shum <bshum at biblio.org>
diff --git a/Open-ILS/src/sql/Pg/080.schema.money.sql b/Open-ILS/src/sql/Pg/080.schema.money.sql
index 5004f00..fc0cfe3 100644
--- a/Open-ILS/src/sql/Pg/080.schema.money.sql
+++ b/Open-ILS/src/sql/Pg/080.schema.money.sql
@@ -62,6 +62,7 @@ CREATE TABLE money.billing (
);
CREATE INDEX m_b_xact_idx ON money.billing (xact);
CREATE INDEX m_b_time_idx ON money.billing (billing_ts);
+CREATE INDEX m_b_voider_idx ON money.billing (voider); -- helps user merge function speed
CREATE TABLE money.payment (
id BIGSERIAL PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql
new file mode 100644
index 0000000..71fd220
--- /dev/null
+++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql
@@ -0,0 +1,7 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+
+CREATE INDEX m_b_voider_idx ON money.billing (voider);
+
+COMMIT;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/src/sql/Pg/002.schema.config.sql | 2 +-
Open-ILS/src/sql/Pg/080.schema.money.sql | 1 +
.../Pg/upgrade/0894.index.money_billing.voider.sql | 7 +++++++
3 files changed, 9 insertions(+), 1 deletions(-)
create mode 100644 Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list