Changeset View
Changeset View
Standalone View
Standalone View
src/applications/tokens/storage/PhabricatorTokenCount.php
Show All 9 Lines | return array( | ||||
self::CONFIG_IDS => self::IDS_MANUAL, | self::CONFIG_IDS => self::IDS_MANUAL, | ||||
self::CONFIG_TIMESTAMPS => false, | self::CONFIG_TIMESTAMPS => false, | ||||
self::CONFIG_COLUMN_SCHEMA => array( | self::CONFIG_COLUMN_SCHEMA => array( | ||||
'tokenCount' => 'uint32', | 'tokenCount' => 'uint32', | ||||
), | ), | ||||
self::CONFIG_KEY_SCHEMA => array( | self::CONFIG_KEY_SCHEMA => array( | ||||
'key_objectPHID' => array( | 'key_objectPHID' => array( | ||||
'columns' => array('objectPHID'), | 'columns' => array('objectPHID'), | ||||
'unique' => true, | |||||
), | |||||
'key_count' => array( | |||||
'columns' => array('tokenCount'), | |||||
), | ), | ||||
), | ), | ||||
) + parent::getConfiguration(); | ) + parent::getConfiguration(); | ||||
} | } | ||||
} | } |