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