From: Michele Morgan Date: Thu, 27 Oct 2022 14:39:33 +0000 (-0400) Subject: LP1396764 - Stamping upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=c1b85d1d09151483c62bba1cce268cec154ab0a4;p=working%2FEvergreen.git LP1396764 - 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 991f4eeef4..68a29567a3 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 ('1342', :eg_version); -- jeffdavis/blake/sandbergja +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1343', :eg_version); -- khuckins/christine-burns/mmorgan CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1343.schema.hours-of-operation-note b/Open-ILS/src/sql/Pg/upgrade/1343.schema.hours-of-operation-note new file mode 100644 index 0000000000..90de8ba3f5 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1343.schema.hours-of-operation-note @@ -0,0 +1,13 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('1343', :eg_version); + +ALTER TABLE actor.hours_of_operation + ADD COLUMN dow_0_note TEXT, + ADD COLUMN dow_1_note TEXT, + ADD COLUMN dow_2_note TEXT, + ADD COLUMN dow_3_note TEXT, + ADD COLUMN dow_4_note TEXT, + ADD COLUMN dow_5_note TEXT, + ADD COLUMN dow_6_note TEXT; +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.lp1396764-hours-of-operation-note.sql b/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.lp1396764-hours-of-operation-note.sql deleted file mode 100644 index c8555d9834..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/xxxx.schema.lp1396764-hours-of-operation-note.sql +++ /dev/null @@ -1,13 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -ALTER TABLE actor.hours_of_operation - ADD COLUMN dow_0_note TEXT, - ADD COLUMN dow_1_note TEXT, - ADD COLUMN dow_2_note TEXT, - ADD COLUMN dow_3_note TEXT, - ADD COLUMN dow_4_note TEXT, - ADD COLUMN dow_5_note TEXT, - ADD COLUMN dow_6_note TEXT; -COMMIT; \ No newline at end of file