LP#800706: Stamping upgrade script
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 13 May 2015 17:51:35 +0000 (13:51 -0400)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 13 May 2015 17:55:00 +0000 (13:55 -0400)
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/0917.schema.index-record-in-sre.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql [deleted file]

index 751ad16..e434596 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 ('0916', :eg_version); -- gmcharlt/kmlussier/bshum
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('0917', :eg_version); -- gmcharlt/dyrcona
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/0917.schema.index-record-in-sre.sql b/Open-ILS/src/sql/Pg/upgrade/0917.schema.index-record-in-sre.sql
new file mode 100644 (file)
index 0000000..d3c0095
--- /dev/null
@@ -0,0 +1,9 @@
+-- index serial.record_entry.record
+
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('0917', :eg_version);
+
+CREATE INDEX serial_record_entry_record_idx ON serial.record_entry ( record );
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.index-record-in-sre.sql
deleted file mode 100644 (file)
index aea7e08..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
--- index serial.record_entry.record
-
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
-
-CREATE INDEX serial_record_entry_record_idx ON serial.record_entry ( record );
-
-COMMIT;