Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F559883
HeraldSchemaSpec.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
893 B
Referenced Files
None
Subscribers
None
HeraldSchemaSpec.php
View Options
<?php
final
class
HeraldSchemaSpec
extends
PhabricatorConfigSchemaSpec
{
public
function
buildSchemata
()
{
$this
->
buildRawSchema
(
id
(
new
HeraldRule
())->
getApplicationName
(),
HeraldRule
::
TABLE_RULE_APPLIED
,
array
(
'ruleID'
=>
'id'
,
'phid'
=>
'phid'
,
),
array
(
'PRIMARY'
=>
array
(
'columns'
=>
array
(
'ruleID'
,
'phid'
),
'unique'
=>
true
,
),
'phid'
=>
array
(
'columns'
=>
array
(
'phid'
),
),
));
$this
->
buildRawSchema
(
id
(
new
HeraldRule
())->
getApplicationName
(),
HeraldTranscript
::
TABLE_SAVED_HEADER
,
array
(
'phid'
=>
'phid'
,
'header'
=>
'text'
,
),
array
(
'PRIMARY'
=>
array
(
'columns'
=>
array
(
'phid'
),
'unique'
=>
true
,
),
));
$this
->
buildEdgeSchemata
(
new
HeraldRule
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 10:48 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
112460
Default Alt Text
HeraldSchemaSpec.php (893 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment