aboutsummaryrefslogtreecommitdiffstats
path: root/apps/webhooks/lib/Migration/Version1000Date20240527153425.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-06-03 16:10:55 +0200
committerCôme Chilliet <91878298+come-nc@users.noreply.github.com>2024-06-11 14:10:29 +0200
commit261f08e631f0442f4077c0936c4b784e257830b1 (patch)
tree64fbe113355ae8828df1837cc3a9434719ddbcaf /apps/webhooks/lib/Migration/Version1000Date20240527153425.php
parent75b2ed4c79f187114d66a299f11266b325f6baa3 (diff)
downloadnextcloud-server-261f08e631f0442f4077c0936c4b784e257830b1.tar.gz
nextcloud-server-261f08e631f0442f4077c0936c4b784e257830b1.zip
feat: Add app_api app id to saved information about webhook
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/webhooks/lib/Migration/Version1000Date20240527153425.php')
-rwxr-xr-xapps/webhooks/lib/Migration/Version1000Date20240527153425.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/webhooks/lib/Migration/Version1000Date20240527153425.php b/apps/webhooks/lib/Migration/Version1000Date20240527153425.php
index b6c345a22e2..1b064143533 100755
--- a/apps/webhooks/lib/Migration/Version1000Date20240527153425.php
+++ b/apps/webhooks/lib/Migration/Version1000Date20240527153425.php
@@ -31,6 +31,10 @@ class Version1000Date20240527153425 extends SimpleMigrationStep {
'notnull' => true,
'length' => 4,
]);
+ $table->addColumn('app_id', Types::STRING, [
+ 'notnull' => false,
+ 'length' => 64,
+ ]);
$table->addColumn('user_id', Types::STRING, [
'notnull' => true,
'length' => 64,