LP#1687971: stamp DB update
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 25 May 2017 13:31:27 +0000 (09:31 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 25 May 2017 13:31:27 +0000 (09:31 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1042.schema.asset.copy_location.url.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.asset.copy_location.url.sql [deleted file]

index f8091f0..da3a39d 100644 (file)
@@ -90,7 +90,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 ('1041', :eg_version); -- stompro/csharp/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1042', :eg_version); -- mmorgan/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1042.schema.asset.copy_location.url.sql b/Open-ILS/src/sql/Pg/upgrade/1042.schema.asset.copy_location.url.sql
new file mode 100644 (file)
index 0000000..7224ecc
--- /dev/null
@@ -0,0 +1,8 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1042', :eg_version); -- mmorgan/gmcharlt
+
+ALTER TABLE asset.copy_location
+          ADD COLUMN url TEXT;
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.asset.copy_location.url.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.asset.copy_location.url.sql
deleted file mode 100644 (file)
index 6851669..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-BEGIN;
-
-ALTER TABLE asset.copy_location
-          ADD COLUMN url TEXT;
-
-COMMIT;