Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phriction/storage/PhrictionContent.php
Show All 29 Lines | final class PhrictionContent extends PhrictionDAO | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'version' => 'uint32', | 'version' => 'uint32', | ||||
'title' => 'text', | 'title' => 'text', | ||||
'slug' => 'text128', | 'slug' => 'text128', | ||||
'content' => 'text', | 'content' => 'text', | ||||
'description' => 'text', | |||||
'changeType' => 'uint32', | 'changeType' => 'uint32', | ||||
'changeRef' => 'uint32?', | 'changeRef' => 'uint32?', | ||||
// T6203/NULLABILITY | |||||
// This should just be empty if not provided? | |||||
'description' => 'text?', | |||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'documentID' => array( | 'documentID' => array( | ||||
'columns' => array('documentID', 'version'), | 'columns' => array('documentID', 'version'), | ||||
'unique' => true, | 'unique' => true, | ||||
), | ), | ||||
'authorPHID' => array( | 'authorPHID' => array( | ||||
'columns' => array('authorPHID'), | 'columns' => array('authorPHID'), | ||||
▲ Show 20 Lines • Show All 74 Lines • Show Last 20 Lines |