fixed out of stock
This commit is contained in:
9
db/migrate/20200319113930_drop_out_of_stock_table.rb
Normal file
9
db/migrate/20200319113930_drop_out_of_stock_table.rb
Normal file
@@ -0,0 +1,9 @@
|
||||
class DropOutOfStockTable < ActiveRecord::Migration[5.1]
|
||||
def up
|
||||
drop_table :out_of_stocks
|
||||
end
|
||||
|
||||
def down
|
||||
raise ActiveRecord::IrreversibleMigration
|
||||
end
|
||||
end
|
||||
@@ -129,10 +129,6 @@ delete from sym_node;
|
||||
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
|
||||
values('display_images','display_images','setting',current_timestamp,current_timestamp);
|
||||
|
||||
insert into sym_trigger
|
||||
(trigger_id,source_table_name,channel_id,last_update_time,create_time)
|
||||
values('out_of_stocks','out_of_stocks','setting',current_timestamp,current_timestamp);
|
||||
|
||||
# Create Trigger for Dining Channel
|
||||
|
||||
insert into sym_trigger
|
||||
@@ -401,10 +397,6 @@ delete from sym_node;
|
||||
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
|
||||
values('display_images','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('out_of_stocks','cloud_2_sx', 100, current_timestamp, current_timestamp);
|
||||
|
||||
# Setting Channel # From Master to cloud
|
||||
|
||||
insert into sym_trigger_router
|
||||
@@ -447,10 +439,6 @@ delete from sym_node;
|
||||
(trigger_id,router_id,initial_load_order,last_update_time,create_time)
|
||||
values('display_images','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('out_of_stocks','sx_2_cloud', 100, current_timestamp, current_timestamp);
|
||||
|
||||
#End Setting Channel
|
||||
|
||||
# Dining Channel # From cloud to SX
|
||||
|
||||
Reference in New Issue
Block a user