|
@@ -3,7 +3,7 @@
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Migrations\Migration;
|
|
|
|
|
|
-class CreatePasswordRemindersTable extends Migration {
|
|
|
|
|
|
+class CreatePasswordResetsTable extends Migration {
|
|
|
|
|
|
/**
|
|
/**
|
|
* Run the migrations.
|
|
* Run the migrations.
|
|
@@ -12,7 +12,7 @@ class CreatePasswordRemindersTable extends Migration {
|
|
*/
|
|
*/
|
|
public function up()
|
|
public function up()
|
|
{
|
|
{
|
|
- Schema::create('password_reminders', function(Blueprint $table)
|
|
|
|
|
|
+ Schema::create('password_resets', function(Blueprint $table)
|
|
{
|
|
{
|
|
$table->string('email')->index();
|
|
$table->string('email')->index();
|
|
$table->string('token')->index();
|
|
$table->string('token')->index();
|
|
@@ -27,7 +27,7 @@ class CreatePasswordRemindersTable extends Migration {
|
|
*/
|
|
*/
|
|
public function down()
|
|
public function down()
|
|
{
|
|
{
|
|
- Schema::drop('password_reminders');
|
|
|
|
|
|
+ Schema::drop('password_resets');
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
}
|