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

feat: add unique index #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

feat: add unique index #13

wants to merge 1 commit into from

Conversation

Blank-Xu
Copy link
Owner

Add unique index for columns (p_type,v0,v1,v2,v3,v4,v5).

There is a limit in MySQL side for UNIQUE like Error 1071 (42000): Specified key was too long; max key length is 3072 bytes. So it is necessary to change the column length.

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

Successfully merging this pull request may close these issues.

1 participant