From: Michele Morgan Date: Tue, 18 Oct 2022 21:12:19 +0000 (-0400) Subject: LP1913604 - Stamping upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b34879f9b9e3e69d58e2fafec9608feeaa9242f7;p=working%2FEvergreen.git LP1913604 - Stamping upgrade script Signed-off-by: Michele Morgan --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index 3b2e6a9996..26240fa024 100644 --- a/Open-ILS/src/sql/Pg/002.schema.config.sql +++ b/Open-ILS/src/sql/Pg/002.schema.config.sql @@ -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'); -INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1338', :eg_version); -- mmorgan/gcollum/sandbergja +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1339', :eg_version); -- khuckins/sandbergja/mmorgan INSERT INTO config.upgrade_log (version, applied_to) VALUES ('3.9.0', :eg_version); CREATE TABLE config.bib_source ( diff --git a/Open-ILS/src/sql/Pg/upgrade/1339.schema.course_original_circ_lib.sql b/Open-ILS/src/sql/Pg/upgrade/1339.schema.course_original_circ_lib.sql new file mode 100644 index 0000000000..a417f566d9 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1339.schema.course_original_circ_lib.sql @@ -0,0 +1,8 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1339', :eg_version); + +ALTER TABLE asset.course_module_course_materials + ADD COLUMN original_circ_lib INT REFERENCES actor.org_unit (id); + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.course_original_circ_lib.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.course_original_circ_lib.sql deleted file mode 100644 index c9e0473352..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.course_original_circ_lib.sql +++ /dev/null @@ -1,8 +0,0 @@ -BEGIN; - --- SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -ALTER TABLE asset.course_module_course_materials - ADD COLUMN original_circ_lib INT REFERENCES actor.org_unit (id); - -COMMIT; \ No newline at end of file