DELETE
FROM APS.t_rds_synchronization_config
WHERE
    messagetype LIKE '%DLO%';
INSERT INTO
    aps.t_rds_synchronization_config (rdssynchronizationconfigid, processname, messagetype, lockresourcepath,
                                      lockgroupname, ignorenullresource, rdsqueue, entities, processtype, operations,
                                      pathtoimportserver)
VALUES
    ('6f988c27-1bd3-4411-8ebc-297c37d8dede', 'APS.sp_APS_DloAccessPost', 'DLO_ACCESSED_POSTS', NULL, NULL, FALSE, NULL,
     (select entityid from vclib.t_entities where entname = 'DLO_ACCESSED_POSTS' LIMIT 1), 0, 15, NULL);

INSERT INTO
    aps.t_rds_synchronization_config (rdssynchronizationconfigid, processname, messagetype, lockresourcepath,
                                      lockgroupname, ignorenullresource, rdsqueue, entities, processtype, operations,
                                      pathtoimportserver)
VALUES
    ('d614613f-1c0b-446d-a376-41a44614ab04', 'APS.sp_APS_FTLOAD_DloAccessPost', 'DLO_ACCESSED_POSTS_FTLOAD', NULL, NULL,
     FALSE, NULL, (select entityid from vclib.t_entities where entname = 'DLO_ACCESSED_POSTS' LIMIT 1), 0, 15, NULL);

