[freeside-commits] freeside/FS/FS Schema.pm,1.6,1.7

Ivan,,, ivan at wavetail.420.am
Sat Dec 24 19:00:35 PST 2005


Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv16908/FS/FS

Modified Files:
	Schema.pm 
Log Message:
update indices for better tax report performance

Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- Schema.pm	17 Nov 2005 12:27:39 -0000	1.6
+++ Schema.pm	25 Dec 2005 03:00:33 -0000	1.7
@@ -334,7 +334,7 @@
       ],
       'primary_key' => 'billpkgnum',
       'unique' => [],
-      'index' => [ ['invnum'] ],
+      'index' => [ ['invnum'], [ 'pkgnum' ] ],
     },
 
     'cust_bill_pkg_detail' => {
@@ -433,6 +433,8 @@
       #'index' => [ ['last'], ['company'] ],
       'index' => [ ['last'], [ 'company' ], [ 'referral_custnum' ],
                    [ 'daytime' ], [ 'night' ], [ 'fax' ], [ 'refnum' ],
+                   [ 'ship_last' ], [ 'ship_company' ],
+                   [ 'county' ], [ 'state' ], [ 'country' ]
                  ],
     },
 
@@ -465,7 +467,7 @@
       'primary_key' => 'taxnum',
       'unique' => [],
   #    'unique' => [ ['taxnum'], ['state', 'county'] ],
-      'index' => [],
+      'index' => [ [ 'county' ], [ 'state' ], [ 'country' ] ],
     },
 
     'cust_pay' => {



More information about the freeside-commits mailing list