LP#1657241 Stamping aged circ parent_circ index
authorBill Erickson <berickxx@gmail.com>
Tue, 17 Jan 2017 20:24:53 +0000 (15:24 -0500)
committerBill Erickson <berickxx@gmail.com>
Tue, 17 Jan 2017 20:24:53 +0000 (15:24 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1005.schema.aged_circulation_parent_circ_idx.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.aged_circulation_parent_circ_idx.sql [deleted file]

index 1e6746a..c0b4613 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');
 
-INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1004', :eg_version); -- miker/gmcharlt/berick
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1005', :eg_version); -- csharp/berick
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1005.schema.aged_circulation_parent_circ_idx.sql b/Open-ILS/src/sql/Pg/upgrade/1005.schema.aged_circulation_parent_circ_idx.sql
new file mode 100644 (file)
index 0000000..fad5a39
--- /dev/null
@@ -0,0 +1,7 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1005', :eg_version);
+
+CREATE INDEX action_aged_circulation_parent_circ_idx ON action.aged_circulation (parent_circ);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.aged_circulation_parent_circ_idx.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.aged_circulation_parent_circ_idx.sql
deleted file mode 100644 (file)
index 6d521b9..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-CREATE INDEX action_aged_circulation_parent_circ_idx ON action.aged_circulation (parent_circ);
-
-COMMIT;