]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(webhook_listeners): Use string type instead of text for event 46076/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 2 Jul 2024 12:29:25 +0000 (14:29 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 2 Jul 2024 12:29:25 +0000 (14:29 +0200)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
apps/webhook_listeners/lib/Migration/Version1000Date20240527153425.php

index eee778db3bbe37ae4aae466368e26821d1894791..ca8e708040c369bddd58438bae05fb6446857791 100755 (executable)
@@ -47,8 +47,9 @@ class Version1000Date20240527153425 extends SimpleMigrationStep {
                                'notnull' => true,
                                'length' => 4000,
                        ]);
-                       $table->addColumn('event', Types::TEXT, [
+                       $table->addColumn('event', Types::STRING, [
                                'notnull' => true,
+                               'length' => 4000,
                        ]);
                        $table->addColumn('event_filter', Types::TEXT, [
                                'notnull' => false,