MT#15367 rateomat updates CDRs with zones_history.id, not .bz_id

retriggered+2

Change-Id: I15b6b01996a018e601936ff1150586c9a0915519
changes/48/2748/5
Rene Krenn 10 years ago
parent 4ec4080244
commit 33142b4570

@ -252,7 +252,7 @@ for my $col (qw/init_time start_time/) {
__PACKAGE__->belongs_to(
"source_customer_billing_zones_history",
"NGCP::Schema::Result::billing_zones_history",
{ "bz_id" => "source_customer_billing_zone_id" },
{ "id" => "source_customer_billing_zone_id" },
{
is_deferrable => 1,
join_type => "LEFT",
@ -264,7 +264,7 @@ __PACKAGE__->belongs_to(
__PACKAGE__->belongs_to(
"destination_customer_billing_zones_history",
"NGCP::Schema::Result::billing_zones_history",
{ "bz_id" => "destination_customer_billing_zone_id" },
{ "id" => "destination_customer_billing_zone_id" },
{
is_deferrable => 1,
join_type => "LEFT",

Loading…
Cancel
Save