XF 2.2 Addon upgrade - column can't have a default value

Mouth

Well-known member
During an addon upgrade, trying to action a changeColumn() but getting a response of;
"MySQL statement prepare error [1101]: BLOB, TEXT, GEOMETRY or JSON column can't have a default value"

$table->changeColumn('xxx', 'mediumtext');

How would I correct this? I couldn't find a ->removeDefault() type of action.
 
Back
Top Bottom