Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/storage/DifferentialSchemaSpec.php
Show All 20 Lines | $this->buildRawSchema( | ||||
'dateCreated' => array( | 'dateCreated' => array( | ||||
'columns' => array('dateCreated'), | 'columns' => array('dateCreated'), | ||||
), | ), | ||||
), | ), | ||||
array( | array( | ||||
'persistence' => PhabricatorConfigTableSchema::PERSISTENCE_CACHE, | 'persistence' => PhabricatorConfigTableSchema::PERSISTENCE_CACHE, | ||||
)); | )); | ||||
// TODO: All readers and writers for this table were removed in April | |||||
// 2019. Destroy this table once we're sure we won't miss it. | |||||
$this->buildRawSchema( | $this->buildRawSchema( | ||||
id(new DifferentialRevision())->getApplicationName(), | id(new DifferentialRevision())->getApplicationName(), | ||||
DifferentialRevision::TABLE_COMMIT, | 'differential_commit', | ||||
array( | array( | ||||
'revisionID' => 'id', | 'revisionID' => 'id', | ||||
'commitPHID' => 'phid', | 'commitPHID' => 'phid', | ||||
), | ), | ||||
array( | array( | ||||
'PRIMARY' => array( | 'PRIMARY' => array( | ||||
'columns' => array('revisionID', 'commitPHID'), | 'columns' => array('revisionID', 'commitPHID'), | ||||
'unique' => true, | 'unique' => true, | ||||
Show All 28 Lines |