From d0f96a7023ef54293cceecae35fbe025eacc76c9 Mon Sep 17 00:00:00 2001 From: Alexei Sorokin Date: Sun, 6 Sep 2020 21:20:24 +0300 Subject: [PATCH] [Profile] Extend the allowed length of nicknames to 191 characters --- classes/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Profile.php b/classes/Profile.php index d9d5d77d07..2cb484e03e 100644 --- a/classes/Profile.php +++ b/classes/Profile.php @@ -46,7 +46,7 @@ class Profile extends Managed_DataObject 'description' => 'local and remote users have profiles', 'fields' => array( 'id' => array('type' => 'serial', 'not null' => true, 'description' => 'unique identifier'), - 'nickname' => array('type' => 'varchar', 'length' => 64, 'not null' => true, 'description' => 'nickname or username', 'collate' => 'utf8_general_ci'), + 'nickname' => array('type' => 'varchar', 'length' => 191, 'not null' => true, 'description' => 'nickname or username', 'collate' => 'utf8_general_ci'), 'fullname' => array('type' => 'text', 'description' => 'display name', 'collate' => 'utf8_general_ci'), 'profileurl' => array('type' => 'text', 'description' => 'URL, cached so we dont regenerate'), 'homepage' => array('type' => 'text', 'description' => 'identifying URL', 'collate' => 'utf8_general_ci'),