How to store 2 address for one user

Hello bubblers , I’d the users of my app to be able to add more than one address in their profiles, I will appreciate any suggestion.

Hi @imada484 :slight_smile: You could create two separate fields within the User data type. One field could be “Primary Address” (type: geographic address, list: no), and the second could be “Secondary Address” (type: geographic address, list: no).

You could also make “Addresses” a list of geographic addresses. (Simple version.)

For more flexibility, define a new type called “Address” with multiple fields — not just a geo address, but also a name/descriptor, etc. as neeed. Then have an Addresses field on User that is a list of the Address data type.