Insert admin migration
A migration to create an admin user.
Now, let's create a blank migration to insert an admin user in the database.
And then, write the query to insert him manually.
The password in the migration is already hashed, otherwise the admin would not be able to login. It corresponds to the password AAaa11!!
. It was obtained from this site.
Commit - Inserting admin user in migration
Last updated