Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/storage/PonderQuestion.php
Show All 32 Lines | final class PonderQuestion extends PonderDAO | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_AUX_PHID => true, | self::CONFIG_AUX_PHID => true, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'title' => 'text255', | 'title' => 'text255', | ||||
'voteCount' => 'sint32', | 'voteCount' => 'sint32', | ||||
'status' => 'uint32', | 'status' => 'uint32', | ||||
'content' => 'text', | 'content' => 'text', | ||||
'contentSource' => 'text', | |||||
'heat' => 'double', | 'heat' => 'double', | ||||
'answerCount' => 'uint32', | 'answerCount' => 'uint32', | ||||
'mailKey' => 'bytes20', | 'mailKey' => 'bytes20', | ||||
// T6203/NULLABILITY | |||||
// This should always exist. | |||||
'contentSource' => 'text?', | |||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_phid' => null, | 'key_phid' => null, | ||||
'phid' => array( | 'phid' => array( | ||||
'columns' => array('phid'), | 'columns' => array('phid'), | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
'authorPHID' => array( | 'authorPHID' => array( | ||||
▲ Show 20 Lines • Show All 222 Lines • Show Last 20 Lines |