Changeset View
Changeset View
Standalone View
Standalone View
src/applications/ponder/storage/PonderAnswer.php
Show First 20 Lines • Show All 64 Lines • ▼ Show 20 Lines | final class PonderAnswer 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( | ||||
'voteCount' => 'sint32', | 'voteCount' => 'sint32', | ||||
'content' => 'text', | 'content' => 'text', | ||||
'contentSource' => 'text', | |||||
// 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, | ||||
), | ), | ||||
'key_oneanswerperquestion' => array( | 'key_oneanswerperquestion' => array( | ||||
▲ Show 20 Lines • Show All 152 Lines • Show Last 20 Lines |