Skip to content
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

Update main DB schema #99

Merged
merged 2 commits into from
Apr 25, 2024
Merged

Update main DB schema #99

merged 2 commits into from
Apr 25, 2024

Conversation

rgreinho
Copy link
Member

Updates the Cities table:

  • Changes uniqueness constraints on cities.
    • city_id must be unique
    • composite primary key with (country,region,name)

The cities endpoints and the REST collection were updated to reflect
the changes.

Updates the Cities table:
- Changes uniqueness constraints on cities.
  - city_id must be unique
  - composite primary key with (country,region,name)

The `cities` endpoints and the REST collection were updated to reflect
the changes.
@rgreinho rgreinho self-assigned this Apr 25, 2024
@pull-request-size pull-request-size bot added the size/L Large (100-499 lines of changes) label Apr 25, 2024
@rgreinho rgreinho merged commit 776e491 into main Apr 25, 2024
10 checks passed
@rgreinho rgreinho deleted the update-cities-model branch April 25, 2024 19:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/L Large (100-499 lines of changes)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant