X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FQnA%2Fclasses%2FQnA_Question.php;h=079f09fb6bf46143383d64a343a1f37ba93ba8e6;hb=200721a2f45dbfa5463ba32165c7f60e517f0622;hp=977f93fe4704022fb02d34d4e801cd554a6a5877;hpb=7220b3ddd4a32b947e851c946cb6ad6146bebf7d;p=quix0rs-gnu-social.git diff --git a/plugins/QnA/classes/QnA_Question.php b/plugins/QnA/classes/QnA_Question.php index 977f93fe47..079f09fb6b 100644 --- a/plugins/QnA/classes/QnA_Question.php +++ b/plugins/QnA/classes/QnA_Question.php @@ -48,7 +48,7 @@ class QnA_Question extends Managed_DataObject public $__table = 'qna_question'; // table name public $id; // char(36) primary key not null -> UUID - public $uri; + public $uri; // varchar(191) not 255 because utf8mb4 takes more space public $profile_id; // int -> profile.id public $title; // text public $description; // text @@ -71,7 +71,7 @@ class QnA_Question extends Managed_DataObject ), 'uri' => array( 'type' => 'varchar', - 'length' => 255, + 'length' => 191, 'not null' => true ), 'profile_id' => array('type' => 'int'),