Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F104471358
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
Sun, Mar 9, 18:09
Size
756 B
Mime Type
text/x-php
Expires
Tue, Mar 11, 18:09 (2 d)
Engine
blob
Format
Raw Data
Handle
24746102
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