Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96197921
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
Mon, Dec 23, 16:49
Size
1 KB
Mime Type
text/x-php
Expires
Wed, Dec 25, 16:49 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
23135637
Attached To
rPH Phabricator
PhabricatorProjectSchemaSpec.php
View Options
<?php
final
class
PhabricatorProjectSchemaSpec
extends
PhabricatorConfigSchemaSpec
{
public
function
buildSchemata
()
{
$this
->
buildLiskSchemata
(
'PhabricatorProjectDAO'
);
$this
->
buildEdgeSchemata
(
new
PhabricatorProject
());
$this
->
buildTransactionSchema
(
new
PhabricatorProjectTransaction
());
$this
->
buildCustomFieldSchemata
(
new
PhabricatorProjectCustomFieldStorage
(),
array
(
new
PhabricatorProjectCustomFieldNumericIndex
(),
new
PhabricatorProjectCustomFieldStringIndex
(),
));
$this
->
buildTransactionSchema
(
new
PhabricatorProjectColumnTransaction
());
$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