Skip to content

Commit fb4bc6d

Browse files
authored
JRD : Data model changes for eLinks V5.0 (#584)
* sync between elinks and master and data model changes
1 parent 002d1b3 commit fb4bc6d

25 files changed

+730
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
INSERT INTO dbjudicialdata.region_type
2+
(region_id, region_desc_en, region_desc_cy)
3+
VALUES('1', 'National', NULL);
4+
5+
INSERT INTO dbjudicialdata.base_location_type
6+
(base_location_id, court_name, court_type, circuit, area_of_expertise)
7+
VALUES('1029', 'Aberconwy', 'Old Gwynedd', 'National', 'LJA');
8+
9+
10+
INSERT INTO dbjudicialdata.judicial_user_profile (personal_code,known_as,surname,full_name,post_nominals,ejudiciary_email,active_flag,created_date,last_loaded_date,object_id,sidam_id,initials)
11+
VALUES ('27','Test2KA','Test2SN','Test2FN','Mr','test528@test.net','TRUE','2021-07-14 12:25:28.763','2021-07-14 12:25:28.763','1.11112E+12','1.11112E+12','S.K');
12+
13+
INSERT INTO dbjudicialdata.judicial_user_profile (personal_code,known_as,surname,full_name,post_nominals,ejudiciary_email,active_flag,created_date,last_loaded_date,object_id,sidam_id,initials)
14+
VALUES ('28','TestKA','TestSN','TestFN','Ms','test529@test.net','TRUE','2021-07-14 12:25:28.763','2021-08-11 09:10:44.682','1.11112E+12','1.11112E+12','M.J');
15+
16+
INSERT INTO dbjudicialdata.judicial_user_profile (personal_code,known_as,surname,full_name,post_nominals,ejudiciary_email,active_flag,created_date,last_loaded_date,object_id,sidam_id,initials)
17+
VALUES ('29','Test1KA','Test1SN','Test1FN','Ms','test530@test.net','TRUE','2021-07-14 12:25:28.763','2021-08-11 09:10:44.682','1.11112E+12','1.11112E+12','B.K');
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
INSERT INTO judicial_location_mapping (epimms_id,judicial_base_location_id,building_location_name,base_location_name,service_code) VALUES
2+
('', '1036', '', 'Employment Tribunal England and Wales', 'BHA1'),
3+
('', '1037', '', 'Employment Tribunal Scotland', 'BHA1');
4+
COMMIT;
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE judicial_user_profile ALTER COLUMN extracted_date TYPE date USING extracted_date::date;
2+
ALTER TABLE judicial_office_appointment ALTER COLUMN extracted_date TYPE date USING extracted_date::date;
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
ALTER TABLE dbjudicialdata.judicial_office_appointment DROP CONSTRAINT base_location_id_fk1;
2+
3+
drop table dbjudicialdata.base_location_type;
4+
5+
CREATE TABLE dbjudicialdata.location_type (
6+
base_location_id varchar(64) NOT NULL,
7+
name varchar(256) NULL,
8+
type_id varchar(64) NULL,
9+
parent_id varchar(64) NULL,
10+
jurisdiction_id varchar(64) NULL,
11+
start_date timestamp NULL,
12+
end_date timestamp NULL,
13+
created_at timestamp NULL,
14+
updated_at timestamp NULL,
15+
CONSTRAINT base_location_id PRIMARY KEY (base_location_id)
16+
);
17+
18+
alter table dbjudicialdata.judicial_office_appointment add CONSTRAINT base_location_id_fk1 FOREIGN KEY (base_location_id) REFERENCES dbjudicialdata.location_type(base_location_id);
19+
20+
ALTER TABLE dbjudicialdata.judicial_office_appointment DROP CONSTRAINT region_id_fk1;
21+
22+
ALTER TABLE dbjudicialdata.judicial_office_appointment RENAME COLUMN region_id TO cft_region_id;
23+
24+
ALTER TABLE dbjudicialdata.judicial_office_appointment ALTER COLUMN cft_region_id TYPE varchar(64);
25+
26+
27+
drop table dbjudicialdata.region_type ;
28+
29+
CREATE TABLE dbjudicialdata.cft_region_type (
30+
cft_region_id varchar(64) NOT NULL,
31+
cft_region_desc_en varchar(256) NOT NULL,
32+
cft_region_desc_cy varchar(256) NULL,
33+
CONSTRAINT cft_region_id PRIMARY KEY (cft_region_id)
34+
);
35+
36+
alter table dbjudicialdata.judicial_office_appointment add CONSTRAINT cft_region_id_fk1 FOREIGN KEY (cft_region_id) REFERENCES dbjudicialdata.cft_region_type(cft_region_id);
37+
38+
ALTER TABLE dbjudicialdata.judicial_office_appointment add COLUMN jo_base_location_id varchar(64) NOT null;
39+
40+
alter table dbjudicialdata.judicial_office_appointment add CONSTRAINT jo_base_location_id_fk1 FOREIGN KEY (jo_base_location_id) REFERENCES dbjudicialdata.location_type(base_location_id);
41+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
-- Insert table script : dbjudicialdata.cft_region_type
2+
3+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('0', 'default', 'default') on conflict (cft_region_id) do nothing;
4+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('1', 'London', '');
5+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('2', 'Midlands', '');
6+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('3', 'North East', '');
7+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('4', 'North West', '');
8+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('5', 'South East', '');
9+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('6', 'South West', '');
10+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('7', 'Wales', '');
11+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('10', 'Northern Ireland', '');
12+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('11', 'Scotland', '');
13+
insert into dbjudicialdata.cft_region_type(cft_region_id,cft_region_desc_en,cft_region_desc_cy) values ('12', 'National', '');
14+
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---- Create table script : dbjudicialdata.jrd_lrd_region_mapping
2+
3+
CREATE TABLE dbjudicialdata.jrd_lrd_region_mapping(
4+
jrd_region_id VARCHAR(16) NOT NULL,
5+
jrd_region VARCHAR(256) NOT NULL,
6+
region_id VARCHAR(16) NOT NULL,
7+
region VARCHAR(256) NOT NULL
8+
);
9+
10+
INSERT INTO dbjudicialdata.jrd_lrd_region_mapping (jrd_region_id,jrd_region,region_id,region) VALUES
11+
('1','National','12','National'),
12+
('2','National England and Wales','12','National'),
13+
('3','Taylor House (London)','1','London'),
14+
('4','Hatton Cross (London)','1','London'),
15+
('5','Newport (Wales)','7','Wales'),
16+
('6','Glasgow (Scotland and NI)','11','Scotland'),
17+
('7','Birmingham','2','Midlands'),
18+
('8','North Shields','3','North East'),
19+
('9','Stoke','2','Midlands'),
20+
('10','Manchester','4','North West');
21+
INSERT INTO dbjudicialdata.jrd_lrd_region_mapping (jrd_region_id,jrd_region,region_id,region) VALUES
22+
('11','Bradford','3','North East'),
23+
('12','Nottingham','2','Midlands'),
24+
('13','Field House (London)','1','London'),
25+
('14','London','1','London'),
26+
('15','London Central','1','London'),
27+
('16','London East','1','London'),
28+
('17','London South','1','London'),
29+
('18','South East','5','South East'),
30+
('19','South Eastern','5','South East'),
31+
('20','Midlands','2','Midlands');
32+
INSERT INTO dbjudicialdata.jrd_lrd_region_mapping (jrd_region_id,jrd_region,region_id,region) VALUES
33+
('21','Midlands East','2','Midlands'),
34+
('22','Midlands West','2','Midlands'),
35+
('23','South West','6','South West'),
36+
('24','South Western','6','South West'),
37+
('25','North West','4','North West'),
38+
('26','North East','3','North East'),
39+
('27','Wales','7','Wales'),
40+
('28','Scotland','11','Scotland'),
41+
('32','Yorkshire and Humberside','3','North East'),
42+
('33','Newcastle','3','North East');
43+
INSERT INTO dbjudicialdata.jrd_lrd_region_mapping (jrd_region_id,jrd_region,region_id,region) VALUES
44+
('35','EAT - Rolls Building','1','London');
45+
46+
47+
-- update row script : dbjudicialdata.jrd_lrd_region_mapping
48+
49+
UPDATE dbjudicialdata.jrd_lrd_region_mapping SET jrd_region = 'Yorkshire and the Humber' WHERE jrd_region_id = '32';
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
-- update row script : dbjudicialdata.jrd_lrd_region_mapping
2+
3+
CREATE SEQUENCE dbjudicialdata.judicial_role_type_id_sequence AS integer START 1 OWNED
4+
BY dbjudicialdata.judicial_role_type.role_id;
5+
6+
7+
ALTER TABLE dbjudicialdata.judicial_role_type
8+
ALTER COLUMN role_id SET DEFAULT nextval('dbjudicialdata.judicial_role_type_id_sequence');
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
-- update row script : dbjudicialdata.jrd_lrd_region_mapping
2+
3+
INSERT INTO dbjudicialdata.judicial_location_mapping (epimms_id,judicial_base_location_id,building_location_name,base_location_name,service_code) VALUES
4+
('1123', '1815', '', 'Employment Tribunal England and Wales', 'BHA1'),
5+
('1126', '768', '', 'Employment Tribunal Scotland', 'BFA1');
6+
COMMIT;
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
--Alter dbjudicialdata.judicial_office_appointment
2+
ALTER TABLE dbjudicialdata.judicial_office_appointment DROP COLUMN service_code;
3+
ALTER TABLE dbjudicialdata.judicial_office_appointment DROP COLUMN object_id;
4+
5+
--Alter dbjudicialdata.judicial_office_authorisation
6+
ALTER TABLE dbjudicialdata.judicial_office_authorisation DROP COLUMN object_id;
7+
8+
--Alter dbjudicialdata.judicial_role_type
9+
ALTER TABLE dbjudicialdata.judicial_role_type RENAME TO judicial_additional_roles;
10+
11+
--Alter dbjudicialdata.judicial_location_mapping
12+
ALTER TABLE dbjudicialdata.judicial_location_mapping DROP COLUMN building_location_name;
13+
ALTER TABLE dbjudicialdata.judicial_location_mapping DROP COLUMN base_location_name;
14+
15+
--Alter dbjudicialdata.judicial_ticket_code_mapping
16+
17+
CREATE TABLE dbjudicialdata.judicial_ticket_code_mapping (
18+
ticket_code varchar(16) NOT NULL,
19+
jurisdiction varchar(256) NOT NULL,
20+
lower_level varchar(256) NOT NULL
21+
);
22+
23+
ALTER TABLE dbjudicialdata.judicial_ticket_code_mapping RENAME TO judicial_ticket_code_type;
24+
ALTER TABLE dbjudicialdata.judicial_ticket_code_type RENAME COLUMN jurisdiction TO ticket_category_id;
25+
26+
--delete data from dbjudicialdata.judicial_ticket_code_type
27+
delete from dbjudicialdata.judicial_ticket_code_type;
28+
29+
--Alter dbjudicialdata.judicial_ticket_code_type
30+
ALTER TABLE dbjudicialdata.judicial_ticket_code_type ALTER COLUMN ticket_category_id TYPE varchar(16);
31+
32+
-- update row script : dbjudicialdata.jrd_lrd_region_mapping
33+
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
--Alter dbjudicialdata.judicial_user_profile
2+
ALTER TABLE dbjudicialdata.judicial_user_profile ADD COLUMN deleted_flag boolean;
3+
ALTER TABLE dbjudicialdata.judicial_user_profile ADD COLUMN date_of_deletion TIMESTAMP;
4+
5+
--Alter dbjudicialdata.judicial_office_appointment
6+
ALTER TABLE dbjudicialdata.judicial_office_appointment ALTER COLUMN base_location_id SET NOT NULL;
7+
ALTER TABLE dbjudicialdata.judicial_office_appointment ALTER COLUMN appointment SET NOT NULL;
8+
ALTER TABLE dbjudicialdata.judicial_office_appointment ALTER COLUMN contract_type_id SET NOT NULL;
9+
10+
--Alter dbjudicialdata.judicial_office_authorisation
11+
ALTER TABLE dbjudicialdata.judicial_office_authorisation ALTER COLUMN jurisdiction SET NOT NULL;
12+
ALTER TABLE dbjudicialdata.judicial_office_authorisation ALTER COLUMN lower_level SET NOT NULL;
13+
ALTER TABLE dbjudicialdata.judicial_office_authorisation ALTER COLUMN ticket_code SET NOT NULL;
14+
15+
--Alter dbjudicialdata.judicial_role_type
16+
ALTER TABLE dbjudicialdata.judicial_additional_roles ALTER COLUMN title SET NOT NULL;
17+
18+
19+
--Alter dbjudicialdata.judicial_office_appointment
20+
ALTER TABLE dbjudicialdata.judicial_office_appointment DROP CONSTRAINT cft_region_id_fk1;
21+
ALTER TABLE dbjudicialdata.judicial_office_appointment RENAME COLUMN cft_region_id TO hmcts_region_id;
22+
ALTER TABLE dbjudicialdata.judicial_office_appointment ALTER COLUMN hmcts_region_id TYPE varchar(64);
23+
24+
--drop dbjudicialdata.cft_region_type
25+
drop table dbjudicialdata.cft_region_type ;
26+
27+
--create dbjudicialdata.hmcts_region_type
28+
CREATE TABLE dbjudicialdata.hmcts_region_type (
29+
hmcts_region_id varchar(64) NOT NULL,
30+
hmcts_region_desc_en varchar(256) NOT NULL,
31+
hmcts_region_desc_cy varchar(256),
32+
CONSTRAINT hmcts_region_id PRIMARY KEY (hmcts_region_id)
33+
);
34+
35+
--Alter dbjudicialdata.judicial_office_appointment
36+
alter table dbjudicialdata.judicial_office_appointment add CONSTRAINT hmcts_region_id_fk1 FOREIGN KEY (hmcts_region_id)
37+
REFERENCES dbjudicialdata.hmcts_region_type(hmcts_region_id);
38+
39+
-- Insert table script : dbjudicialdata.hmcts_region_type
40+
41+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('0', 'default', 'default') on conflict (hmcts_region_id) do nothing;
42+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('1', 'London', '');
43+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('2', 'Midlands', '');
44+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('3', 'North East', '');
45+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('4', 'North West', '');
46+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('5', 'South East', '');
47+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('6', 'South West', '');
48+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('7', 'Wales', '');
49+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('10', 'Northern Ireland', '');
50+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('11', 'Scotland', '');
51+
insert into dbjudicialdata.hmcts_region_type(hmcts_region_id,hmcts_region_desc_en,hmcts_region_desc_cy) values ('12', 'National', '');
52+
Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,136 @@
1+
2+
--Alter dbjudicialdata.dataload_exception_records
3+
ALTER TABLE dbjudicialdata.dataload_exception_records ALTER COLUMN row_id TYPE varchar(32);
4+
5+
6+
-- insert dbjudicialdata.judicial_ticket_code_type
7+
INSERT INTO dbjudicialdata.judicial_ticket_code_type (ticket_code, ticket_category_id, lower_level) VALUES
8+
('289', '59', 'Welsh Language'),
9+
('290', '24', 'Administrative Court'),
10+
('291', '24', 'Admiralty - KBD'),
11+
('292', '24', 'Chancery'),
12+
('293', '24', 'Chancery Business in the County Court'),
13+
('294', '24', 'Civil Authorisation'),
14+
('295', '24', 'Commercial'),
15+
('296', '24', 'Companies Court'),
16+
('298', '24', 'Mercantile - KBD'),
17+
('299', '24', 'Patents'),
18+
('300', '24', 'Section 9(1) Chancery'),
19+
('301', '24', 'Section 9(1) Kings Bench'),
20+
('302', '24', 'Technology and Construction Court'),
21+
('303', '25', 'Appeals in Crown Court'),
22+
('304', '25', 'Attempted Murder'),
23+
('305', '25', 'Central Criminal Court'),
24+
('306', '25', 'Criminal Authorisation'),
25+
('307', '25', 'Court of Appeal Criminal Division'),
26+
('308', '25', 'Extradition'),
27+
('309', '25', 'Murder'),
28+
('310', '25', 'Terrorism'),
29+
('311', '25', 'Serious Sexual Offences'),
30+
('312', '25', 'Serious Sexual Offences - Youth Court'),
31+
('313', '26', 'Court of Protection'),
32+
('314', '26', 'Financial Remedy Appeals'),
33+
('315', '26', 'Private Law'),
34+
('316', '26', 'Public Law'),
35+
('317', '26', 'Section 9-1 Family'),
36+
('318', '16', 'Agricultural Land and Drainage'),
37+
('319', '16', 'Agricultural Lands Tribunal Wales'),
38+
('320', '10', 'Asylum Support'),
39+
('321', '11', 'Care Standards'),
40+
('322', '13', 'Charity'),
41+
('323', '13', 'Claims Management Services'),
42+
('324', '16', 'Community Rights to Bid'),
43+
('325', '103', 'Competition Appeal Tribunal'),
44+
('326', '13', 'Consumer Credit'),
45+
('327', '105', 'Copyright Tribunal'),
46+
('328', '10', 'Criminal Injuries Compensations'),
47+
('329', '106', 'Design Tribunal'),
48+
('330', '14', 'Direct and Indirect Taxation'),
49+
('331', '13', 'Environment'),
50+
('332', '13', 'Estate Agents'),
51+
('333', '13', 'Food'),
52+
('334', '13', 'Gambling'),
53+
('335', '13', 'Immigration Services'),
54+
('336', '13', 'Information Rights'),
55+
('337', '21', 'Judicial Review - England and Wales'),
56+
('338', '21', 'Judicial Review - Northern Ireland'),
57+
('339', '21', 'Judicial Review - Scotland'),
58+
('340', '16', 'Land Registration'),
59+
('341', '13', 'Local Government Standards - England'),
60+
('342', '11', 'Mental Health'),
61+
('343', '11', 'Mental Health Tribunal Wales'),
62+
('344', '42', 'Motor Insurers Bureau'),
63+
('345', '14', 'MP''s Expenses'),
64+
('346', '13', 'National Security'),
65+
('347', '13', 'Pensions Regulations'),
66+
('348', '13', 'Professional Regulations'),
67+
('349', '11', 'Primary Health List'),
68+
('350', '45', 'Police Appeals Tribunal'),
69+
('351', '13', 'Race Panel'),
70+
('352', '47', 'Reinstatement Committee'),
71+
('353', '15', 'Reserve Forces'),
72+
('354', '16', 'Residential Property'),
73+
('355', '49', 'Residential Property Tribunal Wales'),
74+
('356', '11', 'Restricted Patients Panel'),
75+
('357', '10', 'Social Security and Child Support'),
76+
('358', '11', 'Special Educational Needs and Disability'),
77+
('359', '54', 'Trademark Tribunals'),
78+
('360', '55', 'Transport'),
79+
('361', '56', 'Valuation Tribunal England'),
80+
('362', '10', '02 - Child Support'),
81+
('364', '10', '01 - Social Security'),
82+
('365', '10', '03 - Disability Living Allowance'),
83+
('366', '10', '04 - Incapacity Benefit Employment Support'),
84+
('367', '10', '05 - Industrial Injuries'),
85+
('368', '10', '00 - Interlocutory'),
86+
('369', '10', '07 - Vaccine Damage'),
87+
('371', '18', 'Upper - Administrative Appeals'),
88+
('372', '19', 'Upper - Immigration and Asylum'),
89+
('373', '12', 'First Tier - Immigration and Asylum'),
90+
('374', '11', 'First Tier - Health, Education and Social Care'),
91+
('375', '16', 'First Tier - Property'),
92+
('376', '10', 'First Tier - Social Entitlement'),
93+
('377', '14', 'First Tier - Tax'),
94+
('378', '15', 'First Tier - War Pensions and Armed Forces Compensation'),
95+
('379', '32', 'Employment Appeal Tribunal'),
96+
('380', '31', 'Employment Tribunal (Scotland)'),
97+
('381', '33', 'Others - Gender Recognition Panel'),
98+
('382', '43', 'Others - Pathogens Access Appeals Commission'),
99+
('383', '46', 'Others - Proscribed Organisations Appeal Commission'),
100+
('384', '52', 'Others - Special Immigration Appeals Commission'),
101+
('385', '20', 'Upper - Lands'),
102+
('386', '21', 'Upper - Tax and Chancery'),
103+
('387', '58', 'Adult Court'),
104+
('388', '58', 'Youth Court'),
105+
('389', '58', 'Family Court'),
106+
('392', '13', 'First Tier - General Regulatory'),
107+
('393', '24', 'Section 9(1) Kings Bench - Admin ONLY'),
108+
('394', '25', 'Pool of Judges'),
109+
('395', '24', 'Freezing Orders in the County Court'),
110+
('396', '24', 'IPEC'),
111+
('397', '24', 'S9(4) Appointment - Chancery'),
112+
('398', '24', 'S9(4) Appointment - Kings Bench'),
113+
('400', '26', 'S9(4) Appointment - Family'),
114+
('401', '25', 'Murder - Deputy Circuit Judge Only'),
115+
('402', '26', 'Ancillary Relief Appeals'),
116+
('403', '24', 'District Judge in the County Court'),
117+
('404', '24', 'Ordinary Planning'),
118+
('405', '58', 'Direct Recruitment to Family'),
119+
('406', '24', 'London Circuit Commercial Court'),
120+
('407', '24', 'Circuit Commercial Court'),
121+
('408', '24', 'Significant Planning'),
122+
('409', '24', 'Financial Remedy'),
123+
('410', '26', 'Financial Remedy'),
124+
('411', '24', 'Super Planning'),
125+
('412', '24', 'Media and Communications List'),
126+
('1412', '24', 'Election Rota'),
127+
('1413', '30', 'Employment Tribunal (England & Wales)'),
128+
('1415', '24', 'Civil Authorisation (High Court Judge Chancery Division)'),
129+
('1416', '10', '06 - Industrial injuries 2'),
130+
('1417', '24', 'Financial List'),
131+
('1450', '58', 'Adult Crime'),
132+
('1451', '58', 'Adult Crime Presiding Justice'),
133+
('1452', '58', 'Family Winger'),
134+
('1453', '58', 'Family Presiding Justice'),
135+
('1454', '58', 'Youth Winger'),
136+
('1455', '58', 'Youth Presiding Justice');
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-- insert dbjudicialdata.judicial_ticket_code_type
2+
3+
update dbjudicialdata.judicial_location_mapping set epimms_id='' where service_code='BBA2';
4+
update dbjudicialdata.judicial_location_mapping set epimms_id='' where service_code='BBA1';

0 commit comments

Comments
 (0)