From 19e3bd6698479b79ed173347c2c6bd735e712445 Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 24 Oct 2023 15:32:19 +0200 Subject: [PATCH] MT#58547 voip_peer_host change relation to lcr_gw * relation to lcr_gw is now by foreign.id instead of foreign.flags, that is to reflect the change that provisioning.voip_peer_hosts.id and kamailio.lcr_gw.id is now equal and lcr_gw.flags no longer holds the voip_peer_hosts id reference Change-Id: Iec28e4f29468420917a4bb5d7f9d44409ea6a5c5 --- lib/NGCP/Schema/Result/voip_peer_hosts.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/Schema/Result/voip_peer_hosts.pm b/lib/NGCP/Schema/Result/voip_peer_hosts.pm index 859b3eb8..50ad409b 100644 --- a/lib/NGCP/Schema/Result/voip_peer_hosts.pm +++ b/lib/NGCP/Schema/Result/voip_peer_hosts.pm @@ -70,7 +70,7 @@ __PACKAGE__->has_many( __PACKAGE__->might_have( "lcr_gw", "NGCP::Schema::Result::lcr_gw", - { "foreign.flags" => "self.id" }, + { "foreign.id" => "self.id" }, ); sub TO_JSON {