Browse Source

fix(webhook_listeners): Use string type instead of text for event

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
pull/46076/head
Côme Chilliet 1 year ago
parent
commit
5365882b6f
No known key found for this signature in database GPG Key ID: A3E2F658B28C760A
  1. 3
      apps/webhook_listeners/lib/Migration/Version1000Date20240527153425.php

3
apps/webhook_listeners/lib/Migration/Version1000Date20240527153425.php

@ -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,

Loading…
Cancel
Save