update sym_master

This commit is contained in:
Aung Myo
2018-02-13 16:55:28 +06:30
parent 5ef5ff4fbe
commit 1b1ab32328

View File

@@ -117,6 +117,10 @@ delete from sym_node;
(trigger_id,source_table_name,channel_id,last_update_time,create_time) (trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('customers','customers','setting',current_timestamp,current_timestamp); values('customers','customers','setting',current_timestamp,current_timestamp);
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('tax_profiles','customers','setting',current_timestamp,current_timestamp);
# Create Trigger for Dining Channel # Create Trigger for Dining Channel
insert into sym_trigger insert into sym_trigger
@@ -279,6 +283,14 @@ delete from sym_node;
(trigger_id,source_table_name,channel_id,last_update_time,create_time) (trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('surveys','surveys','sale',current_timestamp,current_timestamp); values('surveys','surveys','sale',current_timestamp,current_timestamp);
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('card_sale_trans','card_sale_trans','sale',current_timestamp,current_timestamp);
insert into sym_trigger
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
values('card_settle_trans','card_settle_trans','sale',current_timestamp,current_timestamp);
# Create Trigger for OQS Channel # Create Trigger for OQS Channel
insert into sym_trigger insert into sym_trigger
@@ -351,6 +363,10 @@ delete from sym_node;
(trigger_id,router_id,initial_load_order,last_update_time,create_time) (trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('customers','cloud_2_sx', 100, current_timestamp, current_timestamp); values('customers','cloud_2_sx', 100, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('tax_profiles','cloud_2_sx', 100, current_timestamp, current_timestamp);
# Setting Channel # From Master to cloud # Setting Channel # From Master to cloud
insert into sym_trigger_router insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time) (trigger_id,router_id,initial_load_order,last_update_time,create_time)
@@ -380,6 +396,10 @@ delete from sym_node;
(trigger_id,router_id,initial_load_order,last_update_time,create_time) (trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('customers','sx_2_cloud', 100, current_timestamp, current_timestamp); values('customers','sx_2_cloud', 100, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('tax_profiles','sx_2_cloud', 100, current_timestamp, current_timestamp);
#End Setting Channel #End Setting Channel
# Dining Channel # From cloud to SX # Dining Channel # From cloud to SX
@@ -661,6 +681,14 @@ delete from sym_node;
(trigger_id,router_id,initial_load_order,last_update_time,create_time) (trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('surveys','cloud_2_sx', 200, current_timestamp, current_timestamp); values('surveys','cloud_2_sx', 200, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('card_sale_trans','cloud_2_sx', 200, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('card_settle_trans','cloud_2_sx', 200, current_timestamp, current_timestamp);
# Sale Channel # From SX to cloud # Sale Channel # From SX to cloud
insert into sym_trigger_router insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time) (trigger_id,router_id,initial_load_order,last_update_time,create_time)
@@ -709,6 +737,15 @@ delete from sym_node;
insert into sym_trigger_router insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time) (trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('surveys','sx_2_cloud', 200, current_timestamp, current_timestamp); values('surveys','sx_2_cloud', 200, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('card_sale_trans','sx_2_cloud', 200, current_timestamp, current_timestamp);
insert into sym_trigger_router
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
values('card_settle_trans','sx_2_cloud', 200, current_timestamp, current_timestamp);
# End Sale Channel # End Sale Channel
# Oqs Channel # From cloud to Sx # Oqs Channel # From cloud to Sx