Custom user data



How can I add & store a custom field in User model, in addition to email, password, and username? Which parts should I modify & extend so that this custom field is editable from “My Profile” like username?



Hi Abigail! You can extend the User model via metadata tags. You can reference this plugin here, which extends the User model to have a “subscriber” tag -

So in this case, users who are noted as a Subscriber in the database, will reflect this tag.


Thanks! The linked plugin seems to read in tags and create components accordingly, but I’m still not sure how I can first add “subscriber” information in the user database. Could you give me more information on how to modify and update User data?


Can you explain more what your goal is on what you’re trying to do? That way hopefully I can point you more in the right direction!