Creating a Migration for Password Reminders


You want to create a table to store password reminders.


Use the php artisan auth:reminders command.

$ php artisan auth:reminders

This creates a new migration which will create a password_reminders table.

After creating the migration, don't forget to run migrations to update your database with the new table.

$ php artisan migrate


Laravel provides a skeleton for implementing password reminders.

You'll still need to fill in the details for your application. Creating the reminders table is only one of the steps.

comments powered by Disqus