From 7ccd738dfb9c97bd4ffd9832b5f874981c8b2d19 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Sun, 29 Dec 2024 18:52:03 +0100 Subject: [PATCH] fix: Add migration to fix text field lengths in bookmarks table Signed-off-by: Marcel Klehr --- .../Version015000005Date20241229124721.php | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 lib/Migration/Version015000005Date20241229124721.php diff --git a/lib/Migration/Version015000005Date20241229124721.php b/lib/Migration/Version015000005Date20241229124721.php new file mode 100644 index 000000000..e4b65e57c --- /dev/null +++ b/lib/Migration/Version015000005Date20241229124721.php @@ -0,0 +1,47 @@ +hasTable('bookmarks')) { + $table = $schema->getTable('bookmarks'); + $table->modifyColumn('url', [ + 'length' => 4096, + ]); + $table->modifyColumn('title', [ + 'length' => 4096, + ]); + $table->modifyColumn('description', [ + 'length' => 4096, + ]); + } + + return $schema; + } + +}