Skip to content

Commit d3d4132

Browse files
author
epriestley
committedMay 20, 2020
Drop old "differential_commit" table
Summary: Ref T13276. Ref T13513. All readers and writers were removed more than a year ago; clean up the last remnants of this table. Test Plan: Grepped for table references, found none. Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam Maniphest Tasks: T13513, T13276 Differential Revision: https://secure.phabricator.com/D21281
1 parent 6d0dbeb commit d3d4132

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed
 
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
DROP TABLE IF EXISTS {$NAMESPACE}_differential.differential_commit;

‎src/applications/differential/storage/DifferentialSchemaSpec.php

-21
Original file line numberDiff line numberDiff line change
@@ -31,27 +31,6 @@ public function buildSchemata() {
3131
'persistence' => PhabricatorConfigTableSchema::PERSISTENCE_CACHE,
3232
));
3333

34-
// TODO: All readers and writers for this table were removed in April
35-
// 2019. Destroy this table once we're sure we won't miss it.
36-
37-
$this->buildRawSchema(
38-
id(new DifferentialRevision())->getApplicationName(),
39-
'differential_commit',
40-
array(
41-
'revisionID' => 'id',
42-
'commitPHID' => 'phid',
43-
),
44-
array(
45-
'PRIMARY' => array(
46-
'columns' => array('revisionID', 'commitPHID'),
47-
'unique' => true,
48-
),
49-
'commitPHID' => array(
50-
'columns' => array('commitPHID'),
51-
'unique' => true,
52-
),
53-
));
54-
5534
$this->buildRawSchema(
5635
id(new DifferentialRevision())->getApplicationName(),
5736
ArcanistDifferentialRevisionHash::TABLE_NAME,

0 commit comments

Comments
 (0)
Failed to load comments.