This commit is contained in:
sriramv 2023-06-07 11:35:21 +05:30
parent 5a28c9cec3
commit 936738055b
2 changed files with 4 additions and 2 deletions

View File

@ -539,8 +539,10 @@ class Member_controller extends BaseController
}
// -----------------------------------------------
}

View File

@ -7,7 +7,7 @@ class Member_model extends Model
protected $table = 'member';
protected $primaryKey = 'id';
protected $allowedFields = ['name', 'last_name' , 'mobile','email','username', 'password', 'address' , 'city' , 'state' , 'country' , 'pincode' , 'is_email_verified' , 'verification_code' , 'is_active' , 'created_by','updated_by'];
protected $allowedFields = ['name', 'last_name' ,'gender', 'mobile','email','username', 'password', 'address' , 'city' , 'state' , 'country' , 'pincode' , 'is_email_verified' , 'verification_code' , 'is_active' , 'created_by','updated_by'];
protected $beforeInsert = ['beforeInsert'];
protected $beforeUpdate = ['beforeUpdate'];