Page MenuHomeDevCentral

2014_10_12_100000_create_password_resets_table.php
No OneTemporary

2014_10_12_100000_create_password_resets_table.php

<?php
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePasswordResetsTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('password_resets', function (Blueprint $table) {
$table->string('email')->index();
$table->string('token')->index();
$table->timestamp('created_at');
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('password_resets');
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Jul 28, 09:35 (23 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2811186
Default Alt Text
2014_10_12_100000_create_password_resets_table.php (633 B)

Event Timeline