LP#1615736: stamping schema update
authorGalen Charlton <gmc@esilibrary.com>
Wed, 16 Nov 2016 16:46:40 +0000 (11:46 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 16 Nov 2016 16:46:40 +0000 (11:46 -0500)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1001.schema.action_usr_circ_history_index.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.action_usr_circ_history_index.sql [deleted file]

index 5db1ee3..1a80bc0 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 ('1000', :eg_version); -- bshum/dbwells
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1001', :eg_version); -- stompro/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1001.schema.action_usr_circ_history_index.sql b/Open-ILS/src/sql/Pg/upgrade/1001.schema.action_usr_circ_history_index.sql
new file mode 100644 (file)
index 0000000..47a4c89
--- /dev/null
@@ -0,0 +1,7 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1001', :eg_version); -- stompro/gmcharlt
+
+CREATE INDEX action_usr_circ_history_usr_idx ON action.usr_circ_history ( usr );
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.action_usr_circ_history_index.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.action_usr_circ_history_index.sql
deleted file mode 100644 (file)
index 965d983..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('xxxx', :eg_version);
-
-CREATE INDEX action_usr_circ_history_usr_idx ON action.usr_circ_history ( usr );
-
-COMMIT;