LP 1758160: Bump version in upgrade_log.
authorJason Stephenson <jason@sigio.com>
Wed, 27 Jun 2018 20:08:17 +0000 (16:08 -0400)
committerJason Stephenson <jason@sigio.com>
Wed, 27 Jun 2018 20:09:31 +0000 (16:09 -0400)
Signed-off-by: Jason Stephenson <jason@sigio.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1112.schema.auch-source_circ-index.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.auch-source_circ-index.sql [deleted file]

index 29f7a4a..4a061d8 100644 (file)
@@ -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');
 
     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 ('1111', :eg_version); --jeffdavis/gmcharlt/miker
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1112', :eg_version); -- Bmagic/JBoyer/Dyrcona
 
 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/1112.schema.auch-source_circ-index.sql b/Open-ILS/src/sql/Pg/upgrade/1112.schema.auch-source_circ-index.sql
new file mode 100644 (file)
index 0000000..d407036
--- /dev/null
@@ -0,0 +1,12 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1112', :eg_version);
+
+-- Add an index to action.usr_circ_history (source_circ) to speed up aging circs and purging accounts
+
+CREATE INDEX action_usr_circ_history_source_circ_idx 
+  ON action.usr_circ_history
+  USING btree
+  (source_circ);
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.auch-source_circ-index.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.auch-source_circ-index.sql
deleted file mode 100644 (file)
index 2f0673a..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-BEGIN;
-
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
--- Add an index to action.usr_circ_history (source_circ) to speed up aging circs and purging accounts
-
-CREATE INDEX action_usr_circ_history_source_circ_idx 
-  ON action.usr_circ_history
-  USING btree
-  (source_circ);
-
-COMMIT;