X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Ffs-setup;h=faa0e07f1b3409556b0a55ef01ca821f8413e649;hb=3ae5a3652e8d8270ba7d5b6cd061bf28fe629e61;hp=7056347e611b1525c38eeb9a9b5d92b289438a08;hpb=8c7396531e6bf6f7c6cc4e5d19e2d381442223c5;p=freeside.git diff --git a/bin/fs-setup b/bin/fs-setup index 7056347e6..faa0e07f1 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.43 2001-08-19 13:50:47 ivan Exp $ +# $Id: fs-setup,v 1.44 2001-08-29 08:45:04 ivan Exp $ #to delay loading dbdef until we're ready BEGIN { $FS::Record::setup_hack = 1; } @@ -359,12 +359,13 @@ sub tables_hash_hack { 'tax', 'char', 'NULL', 1, 'otaker', 'varchar', '', 8, 'refnum', 'int', '', '', + 'referral_custnum', 'int', 'NULL', '', 'comments', 'varchar', 'NULL', '', ], 'primary_key' => 'custnum', 'unique' => [ [] ], #'index' => [ ['last'], ['company'] ], - 'index' => [ ['last'], [ 'company' ] ], + 'index' => [ ['last'], [ 'company' ], [ 'referral_custnum' ] ], }, 'cust_main_invoice' => { @@ -598,7 +599,7 @@ sub tables_hash_hack { 'columns' => [ 'svcnum', 'int', '', '', 'domain', 'varchar', '', $char_d, - 'catchall', 'int', '', '', + 'catchall', 'int', 'NULL', '', ], 'primary_key' => 'svcnum', 'unique' => [ ['domain'] ],