Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/storage/PhabricatorConfigEntry.php
Show All 16 Lines | return array( | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'namespace' => 'text64', | 'namespace' => 'text64', | ||||
'configKey' => 'text64', | 'configKey' => 'text64', | ||||
'isDeleted' => 'bool', | 'isDeleted' => 'bool', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_name' => array( | 'key_name' => array( | ||||
'columns' => array('namespace', 'configKey'), | 'columns' => array('namespace', 'configKey'), | ||||
'unique' => true, | |||||
), | ), | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
public function generatePHID() { | public function generatePHID() { | ||||
return PhabricatorPHID::generateNewPHID( | return PhabricatorPHID::generateNewPHID( | ||||
PhabricatorConfigConfigPHIDType::TYPECONST); | PhabricatorConfigConfigPHIDType::TYPECONST); | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |