TT#78467 add cdr.destination_account relation

+fix wrong file perm

Change-Id: Ic8b60aa47a5be4ae70382a6e976336c68200d6ba
changes/45/38945/4
Rene Krenn 5 years ago
parent 549eb3e36c
commit 91745b6575

@ -304,6 +304,18 @@ __PACKAGE__->belongs_to(
{ cascade_copy => 0, cascade_delete => 0, join_type => 'left' }
);
__PACKAGE__->belongs_to(
"destination_account",
"NGCP::Schema::Result::contracts",
{ "id" => "destination_account_id" },
{
is_deferrable => 1,
join_type => "LEFT",
on_delete => "SET NULL",
on_update => "UPDATE",
},
);
__PACKAGE__->belongs_to(
"destination_subscriber",
"NGCP::Schema::Result::voip_subscribers",

Loading…
Cancel
Save