griffinclark / groupify

Groupify
https://www.groupify.us
2 stars 0 forks source link

Update user data model to match data being captured in onboarding #327

Open griffinclark opened 2 years ago

griffinclark commented 2 years ago

Check Figma onboarding flow. Need to record:

  1. Age
  2. Gender
  3. When User is free
  4. User interests
kengneruphine commented 2 years ago

I have added these fields to the User model.

kengneruphine commented 2 years ago

For the 3rd point, When the user is free, The user model already has a one-to-one relationship with the availability model so I don't think it will be necessary to add another field to the User model to keep track of when the user is free?

Hope I am not missing something out here?

griffinclark commented 2 years ago

@kengneruphine apologies for the late response.

Gender as an Enum is good, but please check with Joni to make sure there are no other options

Interests should probably be a string[] so we can capture multiple interests

Your third point makes sense, but I don't know enough about how the backend is set up to confirm whether this is correct or not. Please double check with @Ernesto-tha-great or @Bearbobs

Bearbobs commented 2 years ago

@kengneruphine @griffinclark Interests I also think should be an array/list of strings. Totally agree with your point 3. Thanks a lot