add cust_pkg2 index on cust_pkg.pkgpart
[freeside.git] / FS / FS / Schema.pm
index aacc164..aaca5ef 100644 (file)
@@ -561,7 +561,7 @@ sub tables_hashref {
       ],
       'primary_key' => 'pkgnum',
       'unique' => [],
-      'index' => [ ['custnum'] ],
+      'index' => [ ['custnum'], ['pkgpart'] ],
     },
 
     'cust_refund' => {