add index on prepay_credit.agentnum, RT#29748
authorIvan Kohler <ivan@freeside.biz>
Sun, 29 Jun 2014 22:25:47 +0000 (15:25 -0700)
committerIvan Kohler <ivan@freeside.biz>
Sun, 29 Jun 2014 22:25:47 +0000 (15:25 -0700)
FS/FS/Schema.pm

index b70b351..c2d9595 100644 (file)
@@ -2815,7 +2815,7 @@ sub tables_hashref {
       ],
       'primary_key' => 'prepaynum',
       'unique'      => [ ['identifier'] ],
-      'index'       => [],
+      'index'       => [ ['agentnum'] ],
     },
 
     'port' => {