From: Galen Charlton Date: Fri, 28 Oct 2022 01:08:29 +0000 (-0400) Subject: LP#1891369: stamp DB update X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5451f9058dfa75890da77d24002cceef9f0a9963;p=Evergreen.git LP#1891369: 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 4e15b9fac2..ec69db0cbe 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 ('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 index 0000000000..999f133e84 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1348.data.renewals-use-full-time.sql @@ -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 index 640bc7e301..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.renewals-use-full-time.sql +++ /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;