wenerme / coredns-pdsql

CoreDNS PowerDNS adapter
MIT License
11 stars 21 forks source link

Bad column type in MySQL #1

Closed khash closed 3 years ago

khash commented 3 years ago

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.

wenerme commented 3 years ago

Fixed, thanks for report