yii2-usuario icon indicating copy to clipboard operation
yii2-usuario copied to clipboard

Add guide on how to add a field to the User model

Open gogl92 opened this issue 4 years ago • 1 comments

What steps will reproduce the problem?

It isn't documented how we should add a field to the User model although dektrium guide will apply the same.

What is the expected result?

As a developer I want to have the instruction in the docs on how to add a field to the User model.

This can be used, the examples might need to be updated. https://github.com/dektrium/yii2-user/blob/master/docs/adding-new-field-to-user-model.md

What do you get instead?

No guide for this topic supplied.

gogl92 avatar Dec 29 '20 05:12 gogl92

There is an guide to override the User Model...

Follow this guide and you will extend the fields of the Model.

The only knowledge that you need here is a bit of Yii2.

TimoB2005 avatar Oct 14 '22 10:10 TimoB2005