From 95e1daf2a95038173e1bc99f4ed63bda3bf89e8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Thu, 20 Apr 2023 23:08:45 +0200 Subject: [PATCH] Fix max length --- app/config/collections.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/config/collections.php b/app/config/collections.php index 883f947dea..c3fb5dfdbd 100644 --- a/app/config/collections.php +++ b/app/config/collections.php @@ -2593,7 +2593,7 @@ $collections = [ '$id' => ID::custom('vcsInstallationId'), 'type' => Database::VAR_STRING, 'signed' => true, - 'size' => 2048, + 'size' => Database::LENGTH_KEY, 'format' => '', 'filters' => [], 'required' => false, @@ -2603,7 +2603,7 @@ $collections = [ '$id' => ID::custom('vcsInstallationInternalId'), 'type' => Database::VAR_STRING, 'signed' => true, - 'size' => 2048, + 'size' => Database::LENGTH_KEY, 'format' => '', 'filters' => [], 'required' => false, @@ -2613,7 +2613,7 @@ $collections = [ '$id' => ID::custom('vcsRepoId'), 'type' => Database::VAR_STRING, 'signed' => true, - 'size' => 2048, + 'size' => Database::LENGTH_KEY, 'format' => '', 'filters' => [], 'required' => false, @@ -2623,7 +2623,7 @@ $collections = [ '$id' => ID::custom('branch'), 'type' => Database::VAR_STRING, 'signed' => true, - 'size' => 2048, + 'size' => Database::LENGTH_KEY, 'format' => '', 'filters' => [], 'required' => false,