projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ea1bf5
)
add start of torrus srvderive daemon, RT#10574
author
ivan
<ivan>
Sun, 27 Feb 2011 20:54:11 +0000
(20:54 +0000)
committer
ivan
<ivan>
Sun, 27 Feb 2011 20:54:11 +0000
(20:54 +0000)
FS/FS/Schema.pm
patch
|
blob
|
history
FS/bin/freeside-torrus-srvderive
patch
|
blob
|
history
diff --git
a/FS/FS/Schema.pm
b/FS/FS/Schema.pm
index
e8b3309
..
2186088
100644
(file)
--- 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'], ['s
rv_date', 'srv_time'], ['s
erviceid'], ],
},
#Tables for (currently monthly only) report contents.
diff --git
a/FS/bin/freeside-torrus-srvderive
b/FS/bin/freeside-torrus-srvderive
index
ce47414
..
9d9fcb6
100644
(file)
--- 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;