Skip to main content
remove drupal version from title
Link
4uk4
  • 101.7k
  • 7
  • 173
  • 217

8 - Delete a field from the database manually

Source Link
ymdahi
  • 664
  • 9
  • 23

8 - Delete a field from the database manually

I installed a module that left a ghost field that isn't tied to any entity bundle :(

How would I go about safely and thoroughly deleting this field from the database?

I have to delete this field to uninstall the module. I have attempted to run cron and clear cache to see if that would remove the field (it does not).

MYSQL command: show tables like '%<string in field>%'; only produces one result (the field I want to delete). Do I just drop that table?

I am using Drush 9.x, so unfortunately it looks like drush field-delete is not available. Is there a way to do this with Drush 9 or Drupal Console?

Thanks in advance for your help!