Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91082229
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, Nov 7, 17:06
Size
893 B
Mime Type
text/x-php
Expires
Sat, Nov 9, 17:06 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22192888
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
,
),
));
$this
->
buildEdgeSchemata
(
new
HeraldRule
());
}
}
Event Timeline
Log In to Comment