schemaDef coding style fixes
This commit is contained in:
parent
13f1c2cc55
commit
f5bb0431da
@ -67,24 +67,25 @@ 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(
|
),
|
||||||
'type' => 'varchar',
|
'uri' => array(
|
||||||
'length' => 255,
|
'type' => 'varchar',
|
||||||
'not null' => true,
|
'length' => 255,
|
||||||
'description' => 'UUID to the answer notice'
|
'not null' => true,
|
||||||
),
|
'description' => 'UUID to the answer notice',
|
||||||
'question_id' => array(
|
),
|
||||||
'type' => 'char',
|
'question_id' => array(
|
||||||
'length' => 36,
|
'type' => 'char',
|
||||||
'not null' => true,
|
'length' => 36,
|
||||||
'description' => 'UUID of question being responded to'
|
'not null' => true,
|
||||||
),
|
'description' => 'UUID of question being responded to',
|
||||||
'content' => array('type' => 'text'), // got a better name?
|
),
|
||||||
'best' => array('type' => 'int', 'size' => 'tiny'),
|
'content' => array('type' => 'text'), // got a better name?
|
||||||
'revisions' => array('type' => 'int'),
|
'best' => array('type' => 'int', 'size' => 'tiny'),
|
||||||
'profile_id' => array('type' => 'int'),
|
'revisions' => array('type' => 'int'),
|
||||||
'created' => array('type' => 'datetime', 'not null' => true),
|
'profile_id' => array('type' => 'int'),
|
||||||
|
'created' => array('type' => 'datetime', 'not null' => true),
|
||||||
),
|
),
|
||||||
'primary key' => array('id'),
|
'primary key' => array('id'),
|
||||||
'unique keys' => array(
|
'unique keys' => array(
|
||||||
|
Loading…
Reference in New Issue
Block a user