Hi!
I’m trying to add some fields to the User table that comes with the initial migration of the Advanced template. I already added the extra fields on the User model:
public $name;
public $surname;
and the rules for those fields
[['name', 'surname'], 'required'],
and also aded the fields on the form:
<?= $form->field($model, 'name') ?>
<?= $form->field($model, 'surname') ?>
but when I try to create or update the data in the table (using the CRUD generated by the Gii tool) the extra fields are still empty. Do I need to add something else to the model?