Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96377104
HeraldSchemaSpec.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
Thu, Dec 26, 03:34
Size
845 B
Mime Type
text/x-php
Expires
Sat, Dec 28, 03:34 (2 d)
Engine
blob
Format
Raw Data
Handle
23175913
Attached To
rPH Phabricator
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
,
),
));
}
}
Event Timeline
Log In to Comment