Page MenuHomePhabricator

D21281.id50675.diff
No OneTemporary

D21281.id50675.diff

diff --git a/resources/sql/autopatches/20200520.inline.03.dropcommit.sql b/resources/sql/autopatches/20200520.inline.03.dropcommit.sql
new file mode 100644
--- /dev/null
+++ b/resources/sql/autopatches/20200520.inline.03.dropcommit.sql
@@ -0,0 +1 @@
+DROP TABLE IF EXISTS {$NAMESPACE}_differential.differential_commit;
diff --git a/src/applications/differential/storage/DifferentialSchemaSpec.php b/src/applications/differential/storage/DifferentialSchemaSpec.php
--- a/src/applications/differential/storage/DifferentialSchemaSpec.php
+++ b/src/applications/differential/storage/DifferentialSchemaSpec.php
@@ -31,27 +31,6 @@
'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(
- id(new DifferentialRevision())->getApplicationName(),
- 'differential_commit',
- array(
- 'revisionID' => 'id',
- 'commitPHID' => 'phid',
- ),
- array(
- 'PRIMARY' => array(
- 'columns' => array('revisionID', 'commitPHID'),
- 'unique' => true,
- ),
- 'commitPHID' => array(
- 'columns' => array('commitPHID'),
- 'unique' => true,
- ),
- ));
-
$this->buildRawSchema(
id(new DifferentialRevision())->getApplicationName(),
ArcanistDifferentialRevisionHash::TABLE_NAME,

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 11, 10:07 PM (5 d, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6711699
Default Alt Text
D21281.id50675.diff (1 KB)

Event Timeline