From 8fb83d9605dcced707ef7af1df835c8d96616da1 Mon Sep 17 00:00:00 2001 From: Matej Baco Date: Tue, 28 Sep 2021 08:51:53 +0200 Subject: [PATCH] Fixed column width --- app/config/collections2.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/config/collections2.php b/app/config/collections2.php index 71dc7e9f69..72b8e00671 100644 --- a/app/config/collections2.php +++ b/app/config/collections2.php @@ -578,7 +578,7 @@ $collections = [ '$id' => 'email', 'type' => Database::VAR_STRING, 'format' => '', - 'size' => 1024, + 'size' => 320, 'signed' => true, 'required' => false, 'default' => null, @@ -712,14 +712,14 @@ $collections = [ '$id' => '_key_email', 'type' => Database::INDEX_UNIQUE, 'attributes' => ['email'], - 'lengths' => [1024], + 'lengths' => [320], 'orders' => [Database::ORDER_ASC], ], [ '$id' => '_key_deleted_email', 'type' => Database::INDEX_KEY, 'attributes' => ['deleted', 'email'], - 'lengths' => [0, 1024], + 'lengths' => [0, 320], 'orders' => [Database::ORDER_ASC, Database::ORDER_ASC], ], ],