DELETE FROM RDS.t_synchronization_config
WHERE messagetype LIKE '%DLO%'
GO

INSERT INTO rds.t_synchronization_config (
    synchronizationconfigid,
    processname,
    messagetype,
    lockresourcepath,
    lockgroupname,
    ignorenullresource,
    entities,
    processtype,
    operations,
    datatype
)
VALUES (
    'ddb57751-8158-473c-8179-0d0c8812dcca',
    'RDS.sp_RDS_DloAccessPostDirection',
    'DLO_ACCESSED_POSTS_DIRECTION',
    NULL,
    NULL,
    0,
    (select TOP 1  entityid from vclib.t_entities where entname = 'DLO_ACCESSED_POSTS_DIRECTION'),
    0,
    31,
    0
)
GO

INSERT INTO rds.t_synchronization_config (
    synchronizationconfigid,
    processname,
    messagetype,
    lockresourcepath,
    lockgroupname,
    ignorenullresource,
    entities,
    processtype,
    operations,
    datatype
)
VALUES (
    '06af7121-9822-4570-ab9a-3191e6d0f887',
    'RDS.sp_RDS_FTLOAD_DloAccessPost',
    'DLO_ACCESSED_POSTS_FTLOAD',
    NULL,
    NULL,
    0,
    (select TOP 1 entityid from vclib.t_entities where entname = 'DLO_ACCESSED_POSTS' ),
    0,
    31,
    0
)
GO
