Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2892827
PhabricatorCacheSchemaSpec.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1016 B
Referenced Files
None
Subscribers
None
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
,
)
)
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 17:25 (6 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1126936
Default Alt Text
PhabricatorCacheSchemaSpec.php (1016 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment