Skip to main content
updated to add another reference to the task that needs to be done to remove the deleted fields.
Source Link

So on staging, you updated the custom content type feature folder/files and did drush fr machine_name_of_your_content_type_feature -y right? This assumes that you already have the custom content type feature installed in your staging site.

drush fr should apply all the new changes from code into your staging site's DB.

Also if your deleting fields in the staging site, might want to double check if you need to manually delete the field using hook_upadte_N. An example and discussion can be found here https://www.drupal.org/node/649298#comment-10219951. It can also be the basis for the code you want to execute.

So on staging, you updated the custom content type feature folder/files and did drush fr machine_name_of_your_content_type_feature -y right? This assumes that you already have the custom content type feature installed in your staging site.

drush fr should apply all the new changes from code into your staging site's DB.

Also if your deleting fields in the staging site, might want to double check if you need to manually delete the field using hook_upadte_N.

So on staging, you updated the custom content type feature folder/files and did drush fr machine_name_of_your_content_type_feature -y right? This assumes that you already have the custom content type feature installed in your staging site.

drush fr should apply all the new changes from code into your staging site's DB.

Also if your deleting fields in the staging site, might want to double check if you need to manually delete the field using hook_upadte_N. An example and discussion can be found here https://www.drupal.org/node/649298#comment-10219951. It can also be the basis for the code you want to execute.

Source Link

So on staging, you updated the custom content type feature folder/files and did drush fr machine_name_of_your_content_type_feature -y right? This assumes that you already have the custom content type feature installed in your staging site.

drush fr should apply all the new changes from code into your staging site's DB.

Also if your deleting fields in the staging site, might want to double check if you need to manually delete the field using hook_upadte_N.