using varchar(64000) is not valid for MySQL and if auto-migrate is enabled, it would raise an error asking for the column type to be either TEXT or BLOB. Changing that to text in the model fixes the issue.
I'm not sure how to do this via a PR since go modules require the module name and path to be changed to the fork's and therefore the PR is not going to just include the model file but a bunch of other files and go.mod that refer to this repo.
using
varchar(64000)
is not valid for MySQL and ifauto-migrate
is enabled, it would raise an error asking for the column type to be eitherTEXT
orBLOB
. Changing that totext
in the model fixes the issue.I'm not sure how to do this via a PR since go modules require the module name and path to be changed to the fork's and therefore the PR is not going to just include the model file but a bunch of other files and
go.mod
that refer to this repo.