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

Inform: not handle case Error : BLOB/TEXT column {{columnname}} used in key specification without a key length #13

Open
baszealot13 opened this issue May 22, 2017 · 0 comments

Comments

@baszealot13
Copy link

for ex:
this command below is solution after diff.
ALTER TABLE table_name ADD INDEX matchID USING BTREE (column_text);
but i get error "BLOB/TEXT column {{columnname}} used in key specification without a key length" because that column defined "TEXT" type.

must be like command below
ALTER TABLE table_name ADD INDEX matchID USING BTREE (column_text(20));

How should I do?, please suggest.

Thanks

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

1 participant