参考地址:
http://blog.csdn.net/seattle0564/article/details/22096901
insert into sym_node_group (node_group_id, description)
values ('server', '服务端');
insert into sym_node_group (node_group_id, description)
values ('client', '客户端');
insert into sym_node_group_link (source_node_group_id, target_node_group_id, data_event_action)
values ('client', 'server', 'P');
insert into sym_node_group_link (source_node_group_id, target_node_group_id, data_event_action)
values ('server', 'client', 'W');
insert into sym_node (node_id, node_group_id, external_id, sync_enabled)
values ('000', 'server', 's1', 1);
insert into sym_node_security (node_id,node_password,registration_enabled,registration_time,initial_load_enabled,initial_load_time,initial_load_id,initial_load_create_by,rev_initial_load_enabled,rev_initial_load_time,rev_initial_load_id,rev_initial_load_create_by,created_at_node_id)
values ('000','123456',0,current_timestamp,0,current_timestamp,null,null,0,null,null,null,'000');
insert into sym_node_identity values ('000');
insert into sym_channel
(channel_id, processing_order, max_batch_size, enabled, description)
values('bus_info', 1, 100000, 1, '电站信息同步通道');
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('tab_a','tab_a','bus_info',current_timestamp,current_timestamp);
insert into sym_router
(router_id,source_node_group_id,target_node_group_id,router_type,create_time,last_update_time)
values('client_2_server', 'client', 'server', 'default',current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('tab_a','client_2_server', 200, current_timestamp, current_timestamp);