I have an admin table with : id, name, surname, email and password fields... I have to import into a Laravel database those information from another database where the passwords are not hashed.
If i'd like to import datas i should write :
INSERT INTO admins (name, surname, email, password)
VALUES (myName, mySurname, myEmail, myPassword);
I wonder how i can Hash the password values ? Is there a mysql "methop" which allow it ? Thanks for your help
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire