schemaDef coding style fixes

This commit is contained in:
Mikael Nordfeldth 2015-02-12 17:45:02 +01:00
parent 13f1c2cc55
commit f5bb0431da

View File

@ -67,18 +67,19 @@ class QnA_Answer extends Managed_DataObject
'id' => array( 'id' => array(
'type' => 'char', 'type' => 'char',
'length' => 36, 'length' => 36,
'not null' => true, 'description' => 'UUID of the response'), 'not null' => true, 'description' => 'UUID of the response',
),
'uri' => array( 'uri' => array(
'type' => 'varchar', 'type' => 'varchar',
'length' => 255, 'length' => 255,
'not null' => true, 'not null' => true,
'description' => 'UUID to the answer notice' 'description' => 'UUID to the answer notice',
), ),
'question_id' => array( 'question_id' => array(
'type' => 'char', 'type' => 'char',
'length' => 36, 'length' => 36,
'not null' => true, 'not null' => true,
'description' => 'UUID of question being responded to' 'description' => 'UUID of question being responded to',
), ),
'content' => array('type' => 'text'), // got a better name? 'content' => array('type' => 'text'), // got a better name?
'best' => array('type' => 'int', 'size' => 'tiny'), 'best' => array('type' => 'int', 'size' => 'tiny'),