qor / qor-example

An example application showcasing the QOR SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error 1170: BLOB/TEXT column 'key' used in key specification without a key length

InfinityDJKing opened this issue · comments

I use
"go version go1.13.5 darwin/amd64"
"mysql Ver 8.0.18 for macos10.14 on x86_64 (MySQL Community Server - GPL)"

After running "go run main.go"
it reports "[info] registering callback publish:versions from /path/to/go/src/github.com/qor/publish2/callbacks.go:77"
Failed to create unique index for translations key & locale, got: Error 1170: BLOB/TEXT column 'key' used in key specification without a key length

(/path/to/go/src/github.com/qor/i18n/backends/database/database.go:20)
[2020-01-02 11:58:26] Error 1170: BLOB/TEXT column 'key' used in key specification without a key length

I have this same problem, leads to follow on problems and prevents me from using QOR Example

Same Issue, any updates?