2013-10-23 09:46:12

Drupal 7, delete ghost fields from the database

Delete ghost or dead fields in your Drupal 7 website. Sometimes you will end up with dead fields in your database after altering a feature that contained content types. This gist will get all the linked fields from your entities, all the fields defined in the database, find out the difference between them, and remove them.