Skip to content

Conversation

@duytsev
Copy link

@duytsev duytsev commented Nov 3, 2023

Implements a feature: Add address to an organisation.

Assumptions and ideas:

  • I decided to keep country_code in organization while address has a city_id reference which is also derived from country_code + city_name. I assumed that org country and address country could be different.
  • Some cities in the seeded table are ambiguous(for example Lake City - US is presented 3 times) so I am just taking the first one that matches country_code+name criteria, but for production ready app we should get rid of such ambiguity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant