Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
InfinityDJKing opened this issue Jan 2, 2020 · 2 comments

Comments

@InfinityDJKing
Copy link

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

@ctlaux
Copy link

ctlaux commented Sep 15, 2020

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

@MukulLatiyan
Copy link

Same Issue, any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants