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

Add length to the url field and index #98

Merged

Conversation

craigmcnamara
Copy link
Collaborator

MySQL errors while adding the index because it likes a known length.

Within StackOverflow there is also a discussion regarding defacto max
url length so I set the url limit to the known max of 2083.

https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of
-a-url-in-different-browsers

MySQL errors while adding the index because it likes a known length.

Within StackOverflow there is also a discussion regarding defacto max
url length so I set the `url` limit to the known max of 2083.

https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of
-a-url-in-different-browsers
@jpmcgrath
Copy link
Owner

Seems reasonable - can you please update the readme to note this limitation @craigmcnamara .

Warn about url length and default index length.
@craigmcnamara
Copy link
Collaborator Author

I added a warning label to the generator instructions.

@jpmcgrath jpmcgrath merged commit a925cbc into jpmcgrath:develop Apr 30, 2018
@jpmcgrath
Copy link
Owner

This will be released shortly in version v0.7.2.

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.

2 participants