Commit f5bb0431 authored by mmn's avatar mmn

schemaDef coding style fixes

parent 13f1c2cc
......@@ -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(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment