qor-example icon indicating copy to clipboard operation
qor-example copied to clipboard

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

Open InfinityDJKing opened this issue 5 years ago • 2 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

InfinityDJKing avatar Jan 02 '20 05:01 InfinityDJKing

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

ctlaux avatar Sep 15 '20 10:09 ctlaux

Same Issue, any updates?

MukulLatiyan avatar Feb 15 '21 13:02 MukulLatiyan