Changeset View
Changeset View
Standalone View
Standalone View
src/applications/chatlog/storage/PhabricatorChatLogEvent.php
Show All 15 Lines | final class PhabricatorChatLogEvent | ||||
public function getConfiguration() { | public function getConfiguration() { | ||||
return array( | return array( | ||||
self::CONFIG_TIMESTAMPS => false, | self::CONFIG_TIMESTAMPS => false, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'author' => 'text64', | 'author' => 'text64', | ||||
'type' => 'text4', | 'type' => 'text4', | ||||
'message' => 'text', | 'message' => 'text', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'channel' => array( | |||||
'columns' => array('epoch'), | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function attachChannel(PhabricatorChatLogChannel $channel) { | public function attachChannel(PhabricatorChatLogChannel $channel) { | ||||
$this->channel = $channel; | $this->channel = $channel; | ||||
return $this; | return $this; | ||||
} | } | ||||
Show All 27 Lines |