diff --git a/apps/dav/lib/Migration/Version1036Date20251202000000.php b/apps/dav/lib/Migration/Version1036Date20251202000000.php new file mode 100644 index 0000000000000..745a9a019059d --- /dev/null +++ b/apps/dav/lib/Migration/Version1036Date20251202000000.php @@ -0,0 +1,56 @@ +getTable('calendarobjects'); + $column = $table->getColumn('uid'); + if ($column->getLength() < 512) { + $column->setLength(512); + $modified = true; + } + + $table = $schema->getTable('calendar_reminders'); + $column = $table->getColumn('uid'); + if ($column->getLength() < 512) { + $column->setLength(512); + $modified = true; + } + + $table = $schema->getTable('calendar_invitations'); + $column = $table->getColumn('uid'); + if ($column->getLength() < 512) { + $column->setLength(512); + $modified = true; + } + + return $modified ? $schema : null; + } +}