From b6b2c8881a7156df8f185147082219b6b96a530c Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 27 Feb 2011 20:54:11 +0000 Subject: [PATCH] add start of torrus srvderive daemon, RT#10574 --- FS/FS/Schema.pm | 2 +- FS/bin/freeside-torrus-srvderive | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index e8b3309e2..218608832 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -347,7 +347,7 @@ sub tables_hashref_torrus { ], 'primary_key' => 'id', 'unique' => [], - 'index' => [ ['srv_date'], ['serviceid'], ], + 'index' => [ ['srv_date'], ['srv_date', 'srv_time'], ['serviceid'], ], }, #Tables for (currently monthly only) report contents. diff --git a/FS/bin/freeside-torrus-srvderive b/FS/bin/freeside-torrus-srvderive index ce47414a6..9d9fcb6eb 100644 --- a/FS/bin/freeside-torrus-srvderive +++ b/FS/bin/freeside-torrus-srvderive @@ -8,7 +8,7 @@ use FS::UID qw( adminsuidsetup dbh driver_name ); use FS::Record qw( qsearch str2time_sql str2time_sql_closing concat_sql ); use FS::torrus_srvderive; -our $DEBUG = 3; +our $DEBUG = 1; my $user = shift or die &usage; $FS::Daemon::PID_NEWSTYLE = 1; -- 2.11.0