LP#1891369: stamp DB update
authorGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 01:08:29 +0000 (21:08 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 01:08:29 +0000 (21:08 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/1348.data.renewals-use-full-time.sql [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/XXXX.data.renewals-use-full-time.sql [deleted file]

index 4e15b9f..ec69db0 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 ('1347', :eg_version); -- rhamby/sandbergja/gmcharlt
+INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1348', :eg_version); -- berick/mmorgan/gmcharlt
 
 CREATE TABLE config.bib_source (
        id              SERIAL  PRIMARY KEY,
diff --git a/Open-ILS/src/sql/Pg/upgrade/1348.data.renewals-use-full-time.sql b/Open-ILS/src/sql/Pg/upgrade/1348.data.renewals-use-full-time.sql
new file mode 100644 (file)
index 0000000..999f133
--- /dev/null
@@ -0,0 +1,9 @@
+BEGIN;
+
+SELECT evergreen.upgrade_deps_block_check('1348', :eg_version);
+
+ALTER TABLE config.circ_matrix_matchpoint
+    ADD COLUMN renew_extends_due_date BOOLEAN NOT NULL DEFAULT FALSE,
+    ADD COLUMN renew_extend_min_interval INTERVAL;
+
+COMMIT;
diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.renewals-use-full-time.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.renewals-use-full-time.sql
deleted file mode 100644 (file)
index 640bc7e..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-BEGIN;
-
--- SELECT evergreen.upgrade_deps_block_check('TODO', :eg_version);
-
-ALTER TABLE config.circ_matrix_matchpoint
-    ADD COLUMN renew_extends_due_date BOOLEAN NOT NULL DEFAULT FALSE,
-    ADD COLUMN renew_extend_min_interval INTERVAL;
-
-COMMIT;