summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2014-07-26 14:48:31 -0700
committerIvan Kohler <ivan@freeside.biz>2014-07-26 14:48:31 -0700
commit4faed517720e6ccf37e407dcf2856fd49a98a84b (patch)
treeb2144cd9d3311f8b32d9b34b57b6f1874381b97f
parentfb2553b1354de8e861ab9ab4831533422e1cae29 (diff)
queue statistics, RT#30238
-rw-r--r--FS/FS/Schema.pm15
1 files changed, 15 insertions, 0 deletions
diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm
index 71442b6be..7cf4c7294 100644
--- a/FS/FS/Schema.pm
+++ b/FS/FS/Schema.pm
@@ -2901,6 +2901,21 @@ sub tables_hashref {
'index' => [ [ 'jobnum' ], [ 'depend_jobnum' ] ],
},
+ 'queue_stat' => {
+ 'columns' => [
+ 'statnum', 'bigserial', '', '', '', '',
+ 'jobnum', 'bigint', '', '', '', '',
+ 'job', 'varchar', '', 512, '', '',
+ 'custnum', 'int', 'NULL', '', '', '',
+ 'insert_date', @date_type, '', '',
+ 'start_date', @date_type, '', '',
+ 'end_date', @date_type, '', '',
+ ],
+ 'primary_key' => 'statnum',
+ 'unique' => [], #[ ['jobnum'] ],
+ 'index' => [],
+ },
+
'export_svc' => {
'columns' => [
'exportsvcnum' => 'serial', '', '', '', '',