Closed mfekadu closed 4 years ago
@austinsilveria any clues on this bug?
@mfekadu Looks like the contact_phone
column in the Clubs Entity is set to take a String
with max length 10
. I didn't run into this issue when populating the table with scraped clubs, but it might be worth it to increase the size a bit for safety.
@austinsilveria , I agree.
What size is reasonable? Should we bother supporting all kinds of contact_phone formats or expect normalized data?
12223334444
(largest USA phone length with no extension)1-222-333-4444
1 (222) 333-4444
12223334444,,5555...5
(phone with extension, there could be up to N
5's such that N=¯\_(ツ)_/¯
)@mfekadu maybe just double the max size, for now, to be safe?
@adamperlin @austinsilveria okay I'll make it double in my next PR within the next few minutes
Describe the bug
discovered by new tests from #80