[ Index ] |
PHP Cross Reference of Phabricator |
[Summary view] [Print] [Text view]
1 <?php 2 3 final class HeraldSchemaSpec extends PhabricatorConfigSchemaSpec { 4 5 public function buildSchemata() { 6 $this->buildRawSchema( 7 id(new HeraldRule())->getApplicationName(), 8 HeraldRule::TABLE_RULE_APPLIED, 9 array( 10 'ruleID' => 'id', 11 'phid' => 'phid', 12 ), 13 array( 14 'PRIMARY' => array( 15 'columns' => array('ruleID', 'phid'), 16 'unique' => true, 17 ), 18 'phid' => array( 19 'columns' => array('phid'), 20 ), 21 )); 22 23 $this->buildRawSchema( 24 id(new HeraldRule())->getApplicationName(), 25 HeraldTranscript::TABLE_SAVED_HEADER, 26 array( 27 'phid' => 'phid', 28 'header' => 'text', 29 ), 30 array( 31 'PRIMARY' => array( 32 'columns' => array('phid'), 33 'unique' => true, 34 ), 35 )); 36 } 37 38 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |