Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14024042
D21281.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D21281.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D21281: Drop old "differential_commit" table
Attached
Detach File
Event Timeline
Log In to Comment