DELETE FROM AKUZ.t_rds_synchronization_config
WHERE messagetype LIKE '%DLO%'
GO

INSERT INTO AKUZ.t_rds_synchronization_config (
    entities,
    processname,
    messagetype,
    lockresourcepath,
    lockgroupname,
    processtype,
    operations,
    ignorenullresource,
    rdsqueue,
    rdssynchronizationconfigid,
    pathtoimportserver
)
VALUES (
    (select TOP 1 entityid from vclib.t_entities where entname = 'DLO_ACCESSED_POSTS_DIRECTION'),
    'AKUZ.sp_AKUZ_DloAccessPostDirection',
    'DLO_ACCESSED_POSTS_DIRECTION',
    NULL,
    NULL,
    0,
    31,
    0,
    NULL,
    '3b367d33-f42f-4bdb-af69-b86fb4754f68',
    NULL
)
GO

INSERT INTO AKUZ.t_rds_synchronization_config (
    entities,
    processname,
    messagetype,
    lockresourcepath,
    lockgroupname,
    processtype,
    operations,
    ignorenullresource,
    rdsqueue,
    rdssynchronizationconfigid,
    pathtoimportserver
)
VALUES (
    (select TOP 1 entityid from vclib.t_entities where entname = 'DLO_ACCESSED_POSTS'),
    'AKUZ.sp_AKUZ_FTLOAD_DloAccessPost',
    'DLO_ACCESSED_POSTS_FTLOAD',
    NULL,
    NULL,
    0,
    31,
    0,
    NULL,
    'f33b5b72-2260-4266-9b63-3b46275f79ef',
    NULL
)
GO
