Muka-is-home / api

0 stars 0 forks source link

Update User model and add vendor/realtor specializations #31

Closed Justin-Ferwerda closed 1 year ago

Justin-Ferwerda commented 1 year ago

This PR extends the user model and adds data for vendor and realtor specializations re: #27

  1. I also created a new model, UserLicense, as a user can be licensed in multiple states. After some research, it seems as a realtor can be licensed in one state, and have "reciprocity" in other states, so they likely share a license number. I put the license number on the UserLicense model just in case if you are licensed in multiple states you have different license numbers for each state.
  2. I added state info in fixtures for all states and added abbreviations in case that would be helpful for FE.

to test:

These changes shouldn't cause anything to break on FE, you just have more user data to display at this point.