by bajsejohannes · 12y ago · 0 comments
One thing I don't get, is why you're not using the zip code as the primary key (or have any other sort of index on it). The id isn't even used as far as I can tell. Is it just blazingly fast enough as it is?
Like disdev, I always use an auto-incrementing id, but you're right that the index should be on the zip code instead of the id.