Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F118534708
PhabricatorCacheSchemaSpec.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jun 20, 18:28
Size
1016 B
Mime Type
text/x-php
Expires
Sun, Jun 22, 18:28 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26899875
Attached To
rPH Phabricator
PhabricatorCacheSchemaSpec.php
View Options
<?php
final
class
PhabricatorCacheSchemaSpec
extends
PhabricatorConfigSchemaSpec
{
public
function
buildSchemata
()
{
$this
->
buildRawSchema
(
'cache'
,
id
(
new
PhabricatorKeyValueDatabaseCache
())->
getTableName
(),
array
(
'id'
=>
'auto64'
,
'cacheKeyHash'
=>
'bytes12'
,
'cacheKey'
=>
'text128'
,
'cacheFormat'
=>
'text16'
,
'cacheData'
=>
'bytes'
,
'cacheCreated'
=>
'epoch'
,
'cacheExpires'
=>
'epoch?'
,
),
array
(
'PRIMARY'
=>
array
(
'columns'
=>
array
(
'id'
),
'unique'
=>
true
,
),
'key_cacheKeyHash'
=>
array
(
'columns'
=>
array
(
'cacheKeyHash'
),
'unique'
=>
true
,
),
'key_cacheCreated'
=>
array
(
'columns'
=>
array
(
'cacheCreated'
),
),
'key_ttl'
=>
array
(
'columns'
=>
array
(
'cacheExpires'
),
),
),
array
(
'persistence'
=>
PhabricatorConfigTableSchema
::
PERSISTENCE_CACHE
,
));
}
}
Event Timeline
Log In to Comment