[freeside-commits] freeside/FS/FS Schema.pm,1.44.2.19,1.44.2.20
Ivan,,,
ivan at wavetail.420.am
Sun Jan 20 15:25:03 PST 2008
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv29083
Modified Files:
Tag: FREESIDE_1_7_BRANCH
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.44.2.19
retrieving revision 1.44.2.20
diff -u -d -r1.44.2.19 -r1.44.2.20
--- Schema.pm 28 Dec 2007 01:32:47 -0000 1.44.2.19
+++ Schema.pm 20 Jan 2008 23:25:01 -0000 1.44.2.20
@@ -437,7 +437,7 @@
],
'primary_key' => 'crednum',
'unique' => [],
- 'index' => [ ['custnum'] ],
+ 'index' => [ ['custnum'], ['_date'] ],
},
'cust_credit_bill' => {
@@ -613,7 +613,6 @@
'cust_pay' => {
'columns' => [
'paynum', 'serial', '', '', '', '',
- #now cust_bill_pay #'invnum', 'int', '', '', '', '',
'custnum', 'int', '', '', '', '',
'paid', @money_type, '', '',
'_date', @date_type, '', '',
@@ -792,7 +791,6 @@
'cust_refund' => {
'columns' => [
'refundnum', 'serial', '', '', '', '',
- #now cust_credit_refund #'crednum', 'int', '', '', '', '',
'custnum', 'int', '', '', '', '',
'_date', @date_type, '', '',
'refund', @money_type, '', '',
@@ -808,7 +806,7 @@
],
'primary_key' => 'refundnum',
'unique' => [],
- 'index' => [],
+ 'index' => [ ['custnum'], ['_date'] ],
},
'cust_credit_refund' => {
@@ -821,7 +819,7 @@
],
'primary_key' => 'creditrefundnum',
'unique' => [],
- 'index' => [ [ 'crednum', 'refundnum' ] ],
+ 'index' => [ ['crednum'], ['refundnum'] ],
},
More information about the freeside-commits
mailing list