Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class CreatePasswordResetsTable extends Migration |
||
8 | { |
||
9 | /** |
||
10 | * Run the migrations. |
||
11 | */ |
||
12 | public function up() |
||
13 | { |
||
14 | Schema::create('password_resets', function (Blueprint $table) { |
||
15 | $table->string('email')->index(); |
||
16 | $table->string('token'); |
||
17 | $table->timestamp('created_at')->nullable(); |
||
18 | }); |
||
19 | } |
||
20 | |||
21 | /** |
||
22 | * Reverse the migrations. |
||
23 | */ |
||
24 | public function down() |
||
27 | } |
||
28 | } |
||
29 |