Changeset View
Changeset View
Standalone View
Standalone View
src/applications/cache/storage/PhabricatorCacheSchemaSpec.php
Show All 14 Lines | $this->buildRawSchema( | ||||
'cacheFormat' => 'text16', | 'cacheFormat' => 'text16', | ||||
'cacheData' => 'bytes', | 'cacheData' => 'bytes', | ||||
'cacheCreated' => 'epoch', | 'cacheCreated' => 'epoch', | ||||
'cacheExpires' => 'epoch?', | 'cacheExpires' => 'epoch?', | ||||
), | ), | ||||
array( | array( | ||||
'PRIMARY' => array( | 'PRIMARY' => array( | ||||
'columns' => array('id'), | 'columns' => array('id'), | ||||
'unique' => true, | |||||
), | ), | ||||
'key_cacheKeyHash' => array( | 'key_cacheKeyHash' => array( | ||||
'columns' => array('cacheKeyHash'), | 'columns' => array('cacheKeyHash'), | ||||
'unique' => true, | |||||
), | |||||
'key_cacheCreated' => array( | |||||
'columns' => array('cacheCreated'), | |||||
), | |||||
'key_ttl' => array( | |||||
'columns' => array('cacheExpires'), | |||||
), | ), | ||||
)); | )); | ||||
} | } | ||||
} | } |