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

2 create entities #16

Merged
merged 10 commits into from
Jul 2, 2024
Merged

2 create entities #16

merged 10 commits into from
Jul 2, 2024

Conversation

mikeheft
Copy link
Owner

@mikeheft mikeheft commented Jul 2, 2024

Adds models, specs, and associations for

  • Driver
  • Ride
  • Address
  • DriverAddress
    • In order to associate the driver -> address without having to put a driver id on the Address table, I decided to make a joins table that will give the Drivers the ability to have multiple addresses. However, they can only have one current address at a time.

@mikeheft mikeheft linked an issue Jul 2, 2024 that may be closed by this pull request
@mikeheft mikeheft merged commit 7c90a06 into main Jul 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create Entities
1 participant