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
(cherry picked from commit 19e3bd6698)
mr12.0
Kirill Solomko 2 years ago committed by Marco Capetta
parent 51dad310b3
commit c87b93dce5

@ -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 {

Loading…
Cancel
Save