]> git.evergreen-ils.org Git - Evergreen.git/commit
LP1849212: (follow-up) Don't use group ids in upgrade scripts
authorJason Boyer <JBoyer@equinoxinitiative.org>
Tue, 29 Sep 2020 14:32:48 +0000 (10:32 -0400)
committerJason Boyer <JBoyer@equinoxinitiative.org>
Tue, 29 Sep 2020 14:32:48 +0000 (10:32 -0400)
commit72c71e71f17d216f3894579aee9a152600c369a8
treeed90ff9d59cb3aaa4b59f87af1749985c2376520
parent71b0f037d15edf13e3cf6f667c84d596a9103237
LP1849212: (follow-up) Don't use group ids in upgrade scripts

Previously if there was not a permission group with an id of 9
this upgrade script would fail. Changing the consatruction to
match the seed data allows the insert to benignly do nothing if
the group is missing. Also, the permission is made grantable.

Signed-off-by: Jason Boyer <JBoyer@equinoxinitiative.org>
Open-ILS/src/sql/Pg/upgrade/1232.schema.course-materials-module.sql
Open-ILS/src/sql/Pg/version-upgrade/3.5.1-3.6-beta1-upgrade-db.sql