diff --git a/appinfo/info.xml b/appinfo/info.xml index a708bb81..761482a2 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -43,7 +43,7 @@ to join us in shaping a more versatile, stable, and secure app landscape. *Your insights, suggestions, and contributions are invaluable to us.* ]]> - 4.0.5 + 4.0.6 agpl Andrey Borysenko Alexander Piskun diff --git a/lib/Migration/Version4000Date20250109163840.php b/lib/Migration/Version4000Date20250109163840.php new file mode 100644 index 00000000..812fe455 --- /dev/null +++ b/lib/Migration/Version4000Date20250109163840.php @@ -0,0 +1,49 @@ +hasTable('ex_task_processing')) { + $table = $schema->getTable('ex_task_processing'); + + $name = $table->getColumn('name'); + if ($name->getLength() < 255) { + $name->setLength(255); + } + + $displayName = $table->getColumn('display_name'); + if ($displayName->getLength() < 255) { + $displayName->setLength(255); + } + + $taskType = $table->getColumn('task_type'); + if ($taskType->getLength() < 255) { + $taskType->setLength(255); + } + } + + return $schema; + } +}