X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=bin%2Ffs-setup;h=48d28c6f07907316e601848ab6a7d7a9b75add54;hp=7c716d35e2686436943940729b3306e1227dfcc1;hb=8f42b751aebda2e7dce2c363bed6f1e15b411b1d;hpb=47bc56487b4aebf3e415767a053dc049fe4a28d4 diff --git a/bin/fs-setup b/bin/fs-setup index 7c716d35e..48d28c6f0 100755 --- a/bin/fs-setup +++ b/bin/fs-setup @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: fs-setup,v 1.77 2002-02-12 05:58:42 ivan Exp $ +# $Id: fs-setup,v 1.78 2002-02-20 01:03:09 ivan Exp $ #to delay loading dbdef until we're ready BEGIN { $FS::Record::setup_hack = 1; } @@ -856,10 +856,12 @@ sub tables_hash_hack { 'job', 'text', '', '', '_date', 'int', '', '', 'status', 'varchar', '', $char_d, + 'statustext', 'text', '', '', + 'svcnum', 'int', '', '', ], 'primary_key' => 'jobnum', 'unique' => [], - 'index' => [], + 'index' => [ [ 'svcnum' ], [ 'status' ] ], }, 'queue_arg' => { @@ -890,12 +892,12 @@ sub tables_hash_hack { 'columns' => [ 'optionnum', 'int', '', '', 'exportnum', 'int', '', '', - 'option', 'varchar', '', $char_d, + 'optionname', 'varchar', '', $char_d, 'optionvalue', 'text', 'NULL', '', ], 'primary_key' => 'optionnum', 'unique' => [], - 'index' => [ [ 'exportnum' ], [ 'option' ] ], + 'index' => [ [ 'exportnum' ], [ 'optionname' ] ], }, );