Open 3noch opened 8 years ago
Closing because the code has changed and the issue has been resolved.
Oh, I see now what you were referring to. The link to the master branch happened to point to a docstring line with a 255 character column definition.
Can you provide an example of a phone number with an extension that is longer than 20 characters?
6 years later I no longer have access to that information. But I am confident I stumbled on this with real data.
I believe it! I've started contributing to the project recently and I'm working through phone number-related tickets, so I'm seeing this very belatedly.
I'll keep this open a bit longer and try to construct some examples for unit testing.
https://github.com/kvesteri/sqlalchemy-utils/blob/master/sqlalchemy_utils/types/phone_number.py#L155
Some phone numbers have extensions and will cause this 20-character width to be violated.