Adding Properties to User
Learn how to add more properties to an Entity.
We'll cover the following
Adding properties to User
So far, our User
only has a surrogate primary key (the id
). Let’s add some more fields like gender, birthday, email and phone number to make things more interesting:
Get hands-on with 1200+ tech skills courses.