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.
After you get all the field data successfully migrated you will be left with a number of tables that are no longer needed that look like:
- content_field_
- content_type_
If you have tried and then rolled back some field migrations you will also end up with tables like these:
field_deleted_data_
field_deleted_revision_
It might be nice to provide a button to delete all these tables.
Comments
Comment #1
antiorario CreditAttribution: antiorario commentedI second that.
Comment #2
bryancasler CreditAttribution: bryancasler commentedsubscribe
Comment #3
Jody LynnEven an example script for deleting the right tables would be helpful.
Comment #4
Liliplanet CreditAttribution: Liliplanet commentedYes, would love to know which tables we can drop pls ..
lots of tables for example ..
field_revision_taxonomy_vocabulary_x
field_revision_field_x
field_deleted_data_x
Comment #5
Jody LynnThis got rid of my old cck tables post-upgrade:
So long as I don't roll back the tables I think I don't end up with the field_deleted_data tables.
Comment #6
codewatson CreditAttribution: codewatson commentedi think you can add "cache_content" to that list too cant you?
Comment #7
sdsheridanExecuting this little bit of code seems to work well:
Shawn