Changeset View
Changeset View
Standalone View
Standalone View
src/applications/chatlog/storage/PhabricatorChatLogChannel.php
Show All 14 Lines | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'serviceName' => 'text64', | 'serviceName' => 'text64', | ||||
'serviceType' => 'text32', | 'serviceType' => 'text32', | ||||
'channelName' => 'text64', | 'channelName' => 'text64', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_channel' => array( | 'key_channel' => array( | ||||
'columns' => array('channelName', 'serviceType', 'serviceName'), | 'columns' => array('channelName', 'serviceType', 'serviceName'), | ||||
'unique' => true, | |||||
), | ), | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function getCapabilities() { | public function getCapabilities() { | ||||
return array( | return array( | ||||
PhabricatorPolicyCapability::CAN_VIEW, | PhabricatorPolicyCapability::CAN_VIEW, | ||||
Show All 24 Lines |