Want to clone User Espace and add mor column in User Entity

Hi 

i have one requirement.i have to add three new columns in user entity.i already made a clone of user espace.but after cloning i am unable to add more column in user entity.how to do this?i need the same functionality as well as user espace 


Solution

@Arkyadeep Bharadwaj

The table Users is a System table. You cannot alter it.

You'll have to create an extension table with a foreign key to Users table with your new columns.

Solution

Hello Arkyadeep,

Just like João said, create an extension Entity and set it's Identifier's Data Type to User Identifier.

There is a simple FAQ about this topic and also about adding additional logic to Users' login action: check it out here.

Cheers