#What is the best practice for extending the user entity with additional properties (e.g., user_extra

4 messages · Page 1 of 1 (latest)

nova garden
#

Hi, I would like to extend the user entity by adding an extra property class, for example, user_extra. What would be the best practice to achieve this in this project? Should I create a separate entity and link it with a relation, or is there a preferred way in your codebase?

Additionally, are there any CLI commands or scripts already set up in this repository to help generate new entities without npm run generate:resource:relational ? If so, could you please share some guidance or examples?

Thank you!

nova garden
#

@urban onyx @granite pine @vivid echo please help

buoyant jewel
#

Is this new entity supposed to leave on your database? Why don't you just add the new fields to the current entity?

nova garden
#

Supports flexible business expansion without the need to modify the user table additionally.