From: Galen Charlton Date: Thu, 25 May 2017 13:31:27 +0000 (-0400) Subject: LP#1687971: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b985c79a170c2ea06feffd87444d0a441b1f270d;p=evergreen%2Ftadl.git LP#1687971: stamp DB update Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index f8091f09e3..da3a39d442 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -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 index 0000000000..7224ecc7d1 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1042.schema.asset.copy_location.url.sql @@ -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 index 6851669ff3..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.asset.copy_location.url.sql +++ /dev/null @@ -1,6 +0,0 @@ -BEGIN; - -ALTER TABLE asset.copy_location - ADD COLUMN url TEXT; - -COMMIT;