Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
entity_reference_revisions_entity_delete
does a parent query on allRevisions
and it is slow because the index added in ParagraphStorageSchema
is not added to the revisions table.
Proposed resolution
Add it.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#4 | interdiff-4.txt | 1.38 KB | amateescu |
#4 | 3094806-4.patch | 1.3 KB | amateescu |
| |||
#2 | 3094806_2.patch | 637 bytes | Ghost of Drupal Past |
|
Comments
Comment #2
Ghost of Drupal PastComment #3
Ghost of Drupal PastComment #4
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedAdded an update function that will add this new index and cleaned up the storage schema a bit because it shouldn't hard-code the table names.
Comment #5
BerdirThanks! Verified that the update function works as expected.