MySQL doesn't like indexing a text field
authorivan <ivan>
Wed, 21 Oct 2009 07:09:20 +0000 (07:09 +0000)
committerivan <ivan>
Wed, 21 Oct 2009 07:09:20 +0000 (07:09 +0000)
FS/FS/Schema.pm

index 946cf7f..ba8dcde 100644 (file)
@@ -1643,7 +1643,7 @@ sub tables_hashref {
     'queue' => {
       'columns' => [
         'jobnum',      'serial',     '',      '', '', '', 
-        'job',           'text',     '',      '', '', '', 
+        'job',        'varchar',     '',     512, '', '', 
         '_date',          'int',     '',      '', '', '', 
         'status',     'varchar',     '', $char_d, '', '', 
         'statustext',    'text', 'NULL',      '', '', '',