Answers for "postgresql insert bcrypt"

0

postgresql insert bcrypt

shell:

	php artisan tinker

        $user = new App\Models\User
        $user->name = 'WideWolf'
        $user->email = '[email protected]'
        $user->password = bcrypt('1234')
        var_dump($user->getAttributes())
        $user->save() // true
        exit
        
Check in table users the user created - Checked
Posted by: Guest on October-07-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language