From fabc729634f1a0c33f44a34c222b5b3f3769b286 Mon Sep 17 00:00:00 2001 From: Anupam Kumar Date: Thu, 9 Jan 2025 21:59:51 +0530 Subject: [PATCH] fix: add more space to taskprocessing columns Signed-off-by: Anupam Kumar --- appinfo/info.xml | 2 +- .../Version032000Date20250109162434.php | 49 +++++++++++++++++++ 2 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 lib/Migration/Version032000Date20250109162434.php diff --git a/appinfo/info.xml b/appinfo/info.xml index 7fb7ca5b..204bb0e4 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -47,7 +47,7 @@ to join us in shaping a more versatile, stable, and secure app landscape. *Your insights, suggestions, and contributions are invaluable to us.* ]]> - 32.0.0-dev.0 + 32.0.0-dev.1 agpl Andrey Borysenko Alexander Piskun diff --git a/lib/Migration/Version032000Date20250109162434.php b/lib/Migration/Version032000Date20250109162434.php new file mode 100644 index 00000000..591b490a --- /dev/null +++ b/lib/Migration/Version032000Date20250109162434.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; + } +}