From f5bb0431da4d3e62d1ddf76da9651e57f2f5c6dd Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 12 Feb 2015 17:45:02 +0100 Subject: [PATCH] schemaDef coding style fixes --- plugins/QnA/classes/QnA_Answer.php | 37 +++++++++++++++--------------- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/plugins/QnA/classes/QnA_Answer.php b/plugins/QnA/classes/QnA_Answer.php index 02214d360f..f4bf7a9d41 100644 --- a/plugins/QnA/classes/QnA_Answer.php +++ b/plugins/QnA/classes/QnA_Answer.php @@ -67,24 +67,25 @@ class QnA_Answer extends Managed_DataObject 'id' => array( 'type' => 'char', 'length' => 36, - 'not null' => true, 'description' => 'UUID of the response'), - 'uri' => array( - 'type' => 'varchar', - 'length' => 255, - 'not null' => true, - 'description' => 'UUID to the answer notice' - ), - 'question_id' => array( - 'type' => 'char', - 'length' => 36, - 'not null' => true, - 'description' => 'UUID of question being responded to' - ), - 'content' => array('type' => 'text'), // got a better name? - 'best' => array('type' => 'int', 'size' => 'tiny'), - 'revisions' => array('type' => 'int'), - 'profile_id' => array('type' => 'int'), - 'created' => array('type' => 'datetime', 'not null' => true), + 'not null' => true, 'description' => 'UUID of the response', + ), + 'uri' => array( + 'type' => 'varchar', + 'length' => 255, + 'not null' => true, + 'description' => 'UUID to the answer notice', + ), + 'question_id' => array( + 'type' => 'char', + 'length' => 36, + 'not null' => true, + 'description' => 'UUID of question being responded to', + ), + 'content' => array('type' => 'text'), // got a better name? + 'best' => array('type' => 'int', 'size' => 'tiny'), + 'revisions' => array('type' => 'int'), + 'profile_id' => array('type' => 'int'), + 'created' => array('type' => 'datetime', 'not null' => true), ), 'primary key' => array('id'), 'unique keys' => array( -- 2.39.5