getTable('taskprocessing_tasks'); $column = $table->getColumn('error_message'); if ($column->getLength() < 4000) { $column->setLength(4000); } return $schema; } }