LP1913604 - Stamping upgrade script
authorMichele Morgan <mmorgan@noblenet.org>
Tue, 18 Oct 2022 21:12:19 +0000 (17:12 -0400)
committerMichele Morgan <mmorgan@noblenet.org>
Tue, 18 Oct 2022 21:12:19 +0000 (17:12 -0400)
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1339.schema.course_original_circ_lib.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.schema.course_original_circ_lib.sql [deleted file]

index 3b2e6a9..26240fa 100644 (file)
@@ -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 (file)
index 0000000..a417f56
--- /dev/null
@@ -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 (file)
index c9e0473..0000000
+++ /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