| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | public function up() |
||
| 15 | { |
||
| 16 | Schema::create('email_changes', function (Blueprint $table) { |
||
| 17 | $table->bigInteger('user_id')->unsigned()->unique(); |
||
| 18 | $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); |
||
| 19 | $table->string('email'); |
||
| 20 | $table->string('token')->unique(); |
||
| 21 | $table->timestamp('created_at')->nullable(); |
||
| 22 | }); |
||
| 35 |