Page MenuHomePhabricator

D21281.diff
No OneTemporary

D21281.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
Fri, Nov 8, 5:14 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6711699
Default Alt Text
D21281.diff (1 KB)

Event Timeline