From f84a0ea3aae8a9b2962be3a06c0515907df613af Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Mon, 22 Dec 2014 15:58:29 +0100 Subject: [PATCH] MT#10169 - add voip_peer_hosts.enabled, voip_peer_rules.enabled, voip_rewrite_rules.enabled Change-Id: I5c44aa3b73bc2c954ee38ec5f8e5a86116352bbb --- lib/NGCP/Schema/Result/voip_peer_hosts.pm | 2 ++ lib/NGCP/Schema/Result/voip_peer_rules.pm | 2 ++ lib/NGCP/Schema/Result/voip_rewrite_rules.pm | 2 ++ 3 files changed, 6 insertions(+) diff --git a/lib/NGCP/Schema/Result/voip_peer_hosts.pm b/lib/NGCP/Schema/Result/voip_peer_hosts.pm index 7efda46f..7939a7df 100644 --- a/lib/NGCP/Schema/Result/voip_peer_hosts.pm +++ b/lib/NGCP/Schema/Result/voip_peer_hosts.pm @@ -39,6 +39,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 256 }, "via_lb", { data_type => "tinyint", default_value => 0, is_nullable => 0 }, + "enabled", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, ); __PACKAGE__->set_primary_key("id"); diff --git a/lib/NGCP/Schema/Result/voip_peer_rules.pm b/lib/NGCP/Schema/Result/voip_peer_rules.pm index c529b4b1..1433f755 100644 --- a/lib/NGCP/Schema/Result/voip_peer_rules.pm +++ b/lib/NGCP/Schema/Result/voip_peer_rules.pm @@ -31,6 +31,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 1, size => 64 }, "description", { data_type => "varchar", is_nullable => 0, size => 255 }, + "enabled", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, ); __PACKAGE__->set_primary_key("id"); diff --git a/lib/NGCP/Schema/Result/voip_rewrite_rules.pm b/lib/NGCP/Schema/Result/voip_rewrite_rules.pm index dba7f0b0..703c5ee3 100644 --- a/lib/NGCP/Schema/Result/voip_rewrite_rules.pm +++ b/lib/NGCP/Schema/Result/voip_rewrite_rules.pm @@ -29,6 +29,8 @@ __PACKAGE__->add_columns( { data_type => "varchar", is_nullable => 0, size => 255 }, "description", { data_type => "varchar", default_value => "", is_nullable => 0, size => 127 }, + "enabled", + { data_type => "tinyint", default_value => 1, is_nullable => 0 }, "direction", { data_type => "enum",