LP#1835127: (follow-up) fixes to update script
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 24 Sep 2020 15:58:08 +0000 (11:58 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Thu, 24 Sep 2020 15:58:08 +0000 (11:58 -0400)
- include the version number stamp
- adjust the permission IDs

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/upgrade/1238.data.permission.booking_reservation.sql

index 3259ad4..a943527 100644 (file)
@@ -1,11 +1,11 @@
 BEGIN;
 
-SELECT evergreen.upgrade_deps_block_check('XXXX', :eg_version);
+SELECT evergreen.upgrade_deps_block_check('1238', :eg_version);
 
 INSERT INTO permission.perm_list ( id, code, description ) VALUES
- ( 623, 'VIEW_BOOKING_RESERVATION', oils_i18n_gettext(623,
+ ( 625, 'VIEW_BOOKING_RESERVATION', oils_i18n_gettext(625,
     'View booking reservations', 'ppl', 'description')),
- ( 624, 'VIEW_BOOKING_RESERVATION_ATTR_MAP', oils_i18n_gettext(624,
+ ( 626, 'VIEW_BOOKING_RESERVATION_ATTR_MAP', oils_i18n_gettext(626,
     'View booking reservation attribute maps', 'ppl', 'description'))
 ;