Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93110298
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
Tue, Nov 26, 07:09
Size
1 KB
Mime Type
text/x-php
Expires
Thu, Nov 28, 07:09 (2 d)
Engine
blob
Format
Raw Data
Handle
22577357
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'
=>
'id'
,
'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