Addon upgrade - column can't have a default value

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.

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ