-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
City #18
Comments
So states have a one to many relationship with zip codes and cities also have a one to many relationship with zip codes. Little unclear on the "multiple secondary options for cities" part. |
Let's just create a many-to-many relationship with Cities & ZIP's (#17) and on that pivot table, add a boolean field for primary so we can mark if a city name is the primary one for the ZIP Code. |
I'm making a big change to this model. City will now include the State (#16) and be an actual list of every US City for Domestic Addresses (#19). It will no longer be a list of unique City names. We'll have to get a different solution for Cities when we add Foreign Addresses (#51) since this table will only be for US Cities. |
Model & table migration for Cities. ZIP Codes #17 will have primary and multiple secondary options for Cities. Need to pull this list of unique US City names and store them in the https://github.com/tipoff/address database and API.
The text was updated successfully, but these errors were encountered: