Here is my case.
- I've created a content type with few fields (all fields had type: 'text').
- I've exported this content type using feature and then used feature on PROD website for few weeks.
- Recently we decided to change type of 2 fields to: 'email' and 'link' (first we deleted these 2 fields, and then created them with new type), I've updated feature with my content type again (since we did changes to these 2 fields).
- Now when I do deploy to my website it says that it can't convert fields form current type to new type (and I can understand that). However I also believe it is something that everybody does, so there must be a normal solution to this.
Here is a message from my terminal:
WD php: FieldException: Cannot change an existing field's type. in field_update_field() (line 234 of /Users/aaa/git/drupal/http/modules/field/field.crud.inc).
[error] Drush command terminated abnormally due to an unrecoverable error.
[error] FieldException: Cannot change an existing field's type. in field_update_field() (line 234 of /Users/aaa/git/drupal/http/modules/field/field.crud.inc).
Please advise what is the good approach to solve my issue (change type of field that is used already).
_value
). You should be able to find the column schema in each module's .install file inhook_field_schema