Page MenuHomePhorge

PhabricatorProjectSchemaSpec.php
No OneTemporary

Size
756 B
Referenced Files
None
Subscribers
None

PhabricatorProjectSchemaSpec.php

<?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'),
),
));
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, May 12, 12:58 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
97467
Default Alt Text
PhabricatorProjectSchemaSpec.php (756 B)

Event Timeline