generated from hmcts/spring-boot-template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into renovate/spring-boot
- Loading branch information
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/main/resources/db/migration/common/V1_441__update_security_groups_for_wolverhampton.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
update security_group_courthouse_ae | ||
set grp_id = (select grp_id from security_group where group_name = 'moj_ch_wolverhampton_1_appr') | ||
where grp_id in (select grp_id from security_group where group_name = 'moj_ch_wolverhampton_c_appr') | ||
and cth_id = (select cth_id from courthouse where courthouse_name = 'WOLVERHAMPTON CC AT PARK HALL'); | ||
|
||
update security_group_courthouse_ae | ||
set grp_id = (select grp_id from security_group where group_name = 'moj_ch_wolverhampton_1_staff') | ||
where grp_id in (select grp_id from security_group where group_name = 'moj_ch_wolverhampton_c_staff') | ||
and cth_id = (select cth_id from courthouse where courthouse_name = 'WOLVERHAMPTON CC AT PARK HALL'); | ||
|
||
update security_group_courthouse_ae | ||
set grp_id = (select grp_id from security_group where group_name = 'moj_ch_wolverhampton_c_appr') | ||
where grp_id in (select grp_id from security_group where group_name = 'moj_ch_wolverhampton_1_appr') | ||
and cth_id = (select cth_id from courthouse where courthouse_name = 'WOLVERHAMPTON'); | ||
|
||
update security_group_courthouse_ae | ||
set grp_id = (select grp_id from security_group where group_name = 'moj_ch_wolverhampton_c_staff') | ||
where grp_id in (select grp_id from security_group where group_name = 'moj_ch_wolverhampton_1_staff') | ||
and cth_id = (select cth_id from courthouse where courthouse_name = 'WOLVERHAMPTON'); |