[freeside-commits] freeside/FS/FS Schema.pm,1.77,1.78
Ivan,,,
ivan at wavetail.420.am
Sun Jan 20 15:24:56 PST 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv29074
Modified Files:
Schema.pm
Log Message:
add and fix some indices, this should marginally (but not drastically) improve the time to pull up A/R report totals
Index: Schema.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/Schema.pm,v
retrieving revision 1.77
retrieving revision 1.78
diff -u -d -r1.77 -r1.78
--- Schema.pm 28 Dec 2007 01:41:22 -0000 1.77
+++ Schema.pm 20 Jan 2008 23:24:54 -0000 1.78
@@ -517,7 +517,7 @@
],
'primary_key' => 'crednum',
'unique' => [],
- 'index' => [ ['custnum'] ],
+ 'index' => [ ['custnum'], ['_date'] ],
},
'cust_credit_bill' => {
@@ -694,7 +694,6 @@
'cust_pay' => {
'columns' => [
'paynum', 'serial', '', '', '', '',
- #now cust_bill_pay #'invnum', 'int', '', '', '', '',
'custnum', 'int', '', '', '', '',
'paid', @money_type, '', '',
'_date', @date_type, '', '',
@@ -873,7 +872,6 @@
'cust_refund' => {
'columns' => [
'refundnum', 'serial', '', '', '', '',
- #now cust_credit_refund #'crednum', 'int', '', '', '', '',
'custnum', 'int', '', '', '', '',
'_date', @date_type, '', '',
'refund', @money_type, '', '',
@@ -889,7 +887,7 @@
],
'primary_key' => 'refundnum',
'unique' => [],
- 'index' => [ [ 'custnum' ] ],
+ 'index' => [ ['custnum'], ['_date'] ],
},
'cust_credit_refund' => {
@@ -902,7 +900,7 @@
],
'primary_key' => 'creditrefundnum',
'unique' => [],
- 'index' => [ [ 'crednum', 'refundnum' ] ],
+ 'index' => [ ['crednum'], ['refundnum'] ],
},
More information about the freeside-commits
mailing list