HEX
Server: Apache/2.2.15 (CentOS)
System: Linux ip-10-0-2-146.eu-west-1.compute.internal 2.6.32-754.35.1.el6.centos.plus.x86_64 #1 SMP Sat Nov 7 11:33:42 UTC 2020 x86_64
User: root (0)
PHP: 5.6.40
Disabled: NONE
Upload Files
File: /www/exchange2/sql/custom/TK81451-fix-CM-role-mapping-entries.sql
/* Update Queries for TK81451 */

/* Lena Ryan, Investor ID: 20150727000371 */
/* Fixes for the relationship for Role Mapping and Bank entry records in Credebt Machine DB */
UPDATE public.ledgers_role_mapping SET entity_id = 1433 WHERE entity_id = 185 AND entity_type = 2;

/* Peter Clarke, Investor ID: 20181213001639 */
/* Fixes for the relationship for Role Mapping and Bank entry records in Credebt Machine DB */
UPDATE public.ledgers_role_mapping SET entity_id = 2059 WHERE entity_id = 773 AND entity_type = 2;

/* Fiona Roche & John Lahart, Investor ID: 20181120001619 */
/* Fixes for the relationship for Role Mapping and Bank entry records in Credebt Machine DB */
UPDATE public.ledgers_role_mapping SET entity_id = 2046 WHERE entity_id = 761 AND entity_type = 2;

/* Mairead Higgins, Investor ID: 20180807001580 */
/* Fixes for the relationship for Role Mapping and Bank entry records in Credebt Machine DB */
UPDATE public.ledgers_role_mapping SET entity_id = 2010 WHERE entity_id = 725 AND entity_type = 2;