X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Ffs-setup;h=6efdd65bb90cb748610e1acff7fb22ac0ac8ba05;hb=a296741e258d3433ed44652903f2f47467c41d2c;hp=71d53ef852acd4f75064ced64432daf651b59533;hpb=60c10ab363668ec3016306e6069eaade9e04d544;p=freeside.git diff --git a/bin/fs-setup b/bin/fs-setup index 71d53ef85..6efdd65bb 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.47 2001-09-01 22:18:38 ivan Exp $ +# $Id: fs-setup,v 1.49 2001-09-03 22:16:29 ivan Exp $ #to delay loading dbdef until we're ready BEGIN { $FS::Record::setup_hack = 1; } @@ -412,6 +412,7 @@ sub tables_hash_hack { 'columns' => [ 'paynum', 'int', '', '', #now cust_bill_pay #'invnum', 'int', '', '', + 'custnum', 'int', '', '', 'paid', @money_type, '_date', @date_type, 'payby', 'char', '', 4, # CARD/BILL/COMP, should be index into @@ -483,6 +484,7 @@ sub tables_hash_hack { 'columns' => [ 'refundnum', 'int', '', '', #now cust_credit_refund #'crednum', 'int', '', '', + 'custnum', 'int', '', '', '_date', @date_type, 'refund', @money_type, 'otaker', 'varchar', '', 8, @@ -494,7 +496,7 @@ sub tables_hash_hack { ], 'primary_key' => 'refundnum', 'unique' => [ [] ], - 'index' => [ ['crednum'] ], + 'index' => [ [] ], }, 'cust_credit_refund' => {