TaxiDash / Server

A web app for permit management and quality control of taxi drivers
0 stars 0 forks source link

Driver's Phone Number Should Be Stored As String, Not Int #25

Closed sethfri closed 10 years ago

sethfri commented 10 years ago

See here.

brollb commented 10 years ago

Yeah, I can change it. At the time I had figured it would save me some work with constraints but the leading zeros issue makes sense.

Brian On Feb 18, 2014 11:02 PM, "Seth Friedman" notifications@github.com wrote:

See herehttp://stackoverflow.com/questions/3483156/whats-the-right-way-to-represent-phone-numbers .

Reply to this email directly or view it on GitHubhttps://github.com/TaxiRating/Server/issues/25 .

brollb commented 10 years ago

I am going to leave the phone number as an int for uniformity and making the whitelisting easy.