RSS Feed/News Addon upgrade - column can't have a default value

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,903
Points
823

Reputation:

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.

Continue reading...
 
Status
Not open for further replies.
Top