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

Enlarge varchar length of lsky_users.reg_ip #28

Merged
merged 1 commit into from
Mar 4, 2019

Conversation

Menci
Copy link
Contributor

@Menci Menci commented Mar 3, 2019

Just like lsky_image.ip's length, change lsky_users.reg_ip's length to 128 characters too. This will fix #27.

But https://stackoverflow.com/questions/166132/maximum-length-of-the-textual-representation-of-an-ipv6-address mentioned that an IPv6 address's max length is 45 characters, so maybe we can change both field shorter to 45?

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.

使用 IPv6 地址注册时出错,存储注册 IP 的数据库字段长度不足
2 participants