From: Chris Sharp Date: Wed, 23 Sep 2020 20:33:06 +0000 (-0400) Subject: LP#1835127 - Stamp upgrade script X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=aa8b0f39bc6ea88d600f57c80568c0bcbf8f660d;p=Evergreen.git LP#1835127 - Stamp upgrade script Signed-off-by: Chris Sharp --- diff --git a/Open-ILS/src/sql/Pg/002.schema.config.sql b/Open-ILS/src/sql/Pg/002.schema.config.sql index df03e859aa..8e988117ad 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 ('1237', :eg_version); -- berick/gmcharlt +INSERT INTO config.upgrade_log (version, applied_to) VALUES ('1238', :eg_version); -- jeffdavis/csharp CREATE TABLE config.bib_source ( id SERIAL PRIMARY KEY, diff --git a/Open-ILS/src/sql/Pg/upgrade/1238.data.permission.booking_reservation.sql b/Open-ILS/src/sql/Pg/upgrade/1238.data.permission.booking_reservation.sql new file mode 100644 index 0000000000..3259ad4687 --- /dev/null +++ b/Open-ILS/src/sql/Pg/upgrade/1238.data.permission.booking_reservation.sql @@ -0,0 +1,12 @@ +BEGIN; + +SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); + +INSERT INTO permission.perm_list ( id, code, description ) VALUES + ( 623, 'VIEW_BOOKING_RESERVATION', oils_i18n_gettext(623, + 'View booking reservations', 'ppl', 'description')), + ( 624, 'VIEW_BOOKING_RESERVATION_ATTR_MAP', oils_i18n_gettext(624, + 'View booking reservation attribute maps', 'ppl', 'description')) +; + +COMMIT; diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.permission.booking_reservation.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.data.permission.booking_reservation.sql deleted file mode 100644 index 3259ad4687..0000000000 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.data.permission.booking_reservation.sql +++ /dev/null @@ -1,12 +0,0 @@ -BEGIN; - -SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version); - -INSERT INTO permission.perm_list ( id, code, description ) VALUES - ( 623, 'VIEW_BOOKING_RESERVATION', oils_i18n_gettext(623, - 'View booking reservations', 'ppl', 'description')), - ( 624, 'VIEW_BOOKING_RESERVATION_ATTR_MAP', oils_i18n_gettext(624, - 'View booking reservation attribute maps', 'ppl', 'description')) -; - -COMMIT;