Welcome Guest, Not a member yet? Register   Sign In
Shield table auth_identities - fill column name
#3

(01-18-2023, 06:01 PM)kenjis Wrote: Do you mean you want to add column "name" in the user table?
See https://github.com/codeigniter4/shield/discussions/333

No. The table auth_identites already has a column with the name of "name". After executing the migration this column exists.

I add a user like this:
https://codeigniter4.github.io/shield/qu...ting-users

With the following modification i wanted to fill this already existing column:

PHP Code:
$user = new User([
    
'username' => 'foo-bar',
    
'email'    => '[email protected]',
    
'password' => 'secret plain text password',
    
'name' => 'My Name' // i added this 
]); 

But the column "name" is still NULL. How can i fil this column?
Reply


Messages In This Thread
RE: Shield table auth_identities - fill column name - by groovebird - 01-19-2023, 12:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB