Hai,
We have custom field with type 'string' (screenshot.png)
We need to change this type as 'textarea'.But if we change the type , data stored in custom field got deleted.
kindly suggest.
To change the custom field type
Moderators: Developer, Contributor
To change the custom field type
- Attachments
-
- Screenshot.png (30.1 KiB) Viewed 4500 times
Re: To change the custom field type
How about using a new custom field?
Re: To change the custom field type
Hai,
Thanks for reply.
Our requirement is to change the existing custom field from string to text area as we have linked this to few of the existing projects. Please suggest is this possible
Thanks for reply.
Our requirement is to change the existing custom field from string to text area as we have linked this to few of the existing projects. Please suggest is this possible
Re: To change the custom field type
Can be done but if you want to preserve data, you first need to export it and after the change import it again.
Re: To change the custom field type
There is no data deleted after changing a type.
It's is still stored in table mantis_mantis_custom_field_string_table" column "value".
After changing the type to "Textarea", the data is read from column "text"
So all you have to do is to copy the data from column "value" to column "text"
Re: To change the custom field type
Perfect, then it becomes an easy change