LP#1374551: Stamping upgrade script for new index on money.billing.voider
authorBen Shum <bshum@biblio.org>
Fri, 10 Oct 2014 15:35:25 +0000 (11:35 -0400)
committerBen Shum <bshum@biblio.org>
Fri, 10 Oct 2014 15:35:25 +0000 (11:35 -0400)
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.index.money_billing.voider.sql [deleted file]

index 7a16149..487a94f 100644 (file)
@@ -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');
 
     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,
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql b/Open-ILS/src/sql/Pg/upgrade/0894.index.money_billing.voider.sql
new file mode 100644 (file)
index 0000000..5fb3649
--- /dev/null
@@ -0,0 +1,7 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0894', :eg_version);
+
+CREATE INDEX m_b_voider_idx ON money.billing (voider);
+
+COMMIT;
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
deleted file mode 100644 (file)
index 71fd220..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-CREATE INDEX m_b_voider_idx ON money.billing (voider);
-
-COMMIT;