Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F114938846
PhabricatorProjectSchemaSpec.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
Wed, May 28, 18:14
Size
756 B
Mime Type
text/x-php
Expires
Fri, May 30, 18:14 (2 d)
Engine
blob
Format
Raw Data
Handle
26453198
Attached To
rPH Phabricator
PhabricatorProjectSchemaSpec.php
View Options
<?php
final
class
PhabricatorProjectSchemaSpec
extends
PhabricatorConfigSchemaSpec
{
public
function
buildSchemata
()
{
$this
->
buildEdgeSchemata
(
new
PhabricatorProject
());
$this
->
buildRawSchema
(
id
(
new
PhabricatorProject
())->
getApplicationName
(),
PhabricatorProject
::
TABLE_DATASOURCE_TOKEN
,
array
(
'id'
=>
'auto'
,
'projectID'
=>
'id'
,
'token'
=>
'text128'
,
),
array
(
'PRIMARY'
=>
array
(
'columns'
=>
array
(
'id'
),
'unique'
=>
true
,
),
'token'
=>
array
(
'columns'
=>
array
(
'token'
,
'projectID'
),
'unique'
=>
true
,
),
'projectID'
=>
array
(
'columns'
=>
array
(
'projectID'
),
),
));
}
}
Event Timeline
Log In to Comment