From 03f48dbf4e5621efc428a1e7c3bbd64d0f533f29 Mon Sep 17 00:00:00 2001 From: ivan Date: Sun, 26 Apr 2009 23:43:34 +0000 Subject: [PATCH] would help to have an index on priority if we're going to order based on it --- FS/FS/Schema.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/FS/FS/Schema.pm b/FS/FS/Schema.pm index 0aed3ccbe..5d5331ab4 100644 --- a/FS/FS/Schema.pm +++ b/FS/FS/Schema.pm @@ -1510,7 +1510,9 @@ sub tables_hashref { ], 'primary_key' => 'jobnum', 'unique' => [], - 'index' => [ [ 'job' ], [ 'svcnum' ], [ 'custnum' ], [ 'status' ] ], + 'index' => [ [ 'secure' ], [ 'priority' ], + [ 'job' ], [ 'svcnum' ], [ 'custnum' ], [ 'status' ], + ], }, 'queue_arg' => { -- 2.11.0