AnsweredAssumed Answered

On ActivityStream module, change "data" field type to varchar instead of json

Question asked by Irene Joy Cahilo on Jan 27, 2016

On ActivityStream or Activities, I want to change the field type of "data" to varchar.

 

I've tried on custom/Extension/modules/ActivityStream/Ext/Vardefs/nativefield_data.php and on custom/Extension/modules/Activities/Ext/Vardefs/nativefield_data.php

with the contents: $dictionary['Activity']['fields']['data']['type']='varchar';

Also tried changing it to $dictionary['ActivityStream']['fields']['data']['type']='varchar'; Still doesn't work.

 

Can anyone help change the data type of a field in ActivityStream / Activities?

Outcomes