wtf, cust_pkg_reason has no indices?! _upgrade_data is hosing cpu badly
authorivan <ivan>
Tue, 9 Sep 2008 08:19:25 +0000 (08:19 +0000)
committerivan <ivan>
Tue, 9 Sep 2008 08:19:25 +0000 (08:19 +0000)
FS/FS/Schema.pm

index ed535f7..0d08aba 100644 (file)
@@ -966,7 +966,7 @@ sub tables_hashref {
       ],
       'primary_key' => 'num',
       'unique' => [],
-      'index' => [],
+      'index' => [ [ 'pkgnum' ], [ 'reasonnum' ], ['action'], ],
     },
 
     'cust_refund' => {