From 8f42b751aebda2e7dce2c363bed6f1e15b411b1d Mon Sep 17 00:00:00 2001 From: ivan Date: Wed, 20 Feb 2002 01:03:10 +0000 Subject: use Net::SSH::ssh_cmd for all job queueing rather than local duplicated ssh subs queue daemon updates: retry & remove links work, bubble up error message to webinterface, link to svcnum & have job listings on view/svc_* pages, closes: Bug#280 s/option/optionname/ schema change, dumb mysql, closes: Bug#334 --- bin/fs-setup | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'bin/fs-setup') 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' ] ], }, ); -- cgit v1.2.1