|
|
@ -304,6 +304,18 @@ __PACKAGE__->belongs_to(
|
|
|
|
{ cascade_copy => 0, cascade_delete => 0, join_type => 'left' }
|
|
|
|
{ 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(
|
|
|
|
__PACKAGE__->belongs_to(
|
|
|
|
"destination_subscriber",
|
|
|
|
"destination_subscriber",
|
|
|
|
"NGCP::Schema::Result::voip_subscribers",
|
|
|
|
"NGCP::Schema::Result::voip_subscribers",
|
|
|
|