diff options
author | ivan <ivan> | 2001-08-29 08:45:04 +0000 |
---|---|---|
committer | ivan <ivan> | 2001-08-29 08:45:04 +0000 |
commit | 3ae5a3652e8d8270ba7d5b6cd061bf28fe629e61 (patch) | |
tree | 762056a187bba4cee924314ee3475e37ce5fe3a6 /bin | |
parent | 5e99168da38e7616fc726242ce7d85e140f22c6f (diff) |
catchall *can* be NULL
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/fs-setup | 7 |
1 files changed, 4 insertions, 3 deletions
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'] ], |