| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function down() |
||
| 35 | { |
||
| 36 | // Schema::table('changes', function (Blueprint $table) { |
||
| 37 | // $table->integer('admin_id')->unsigned()->change(); |
||
| 38 | // }); |
||
| 39 | // Schema::table('changes', function (Blueprint $table) { |
||
| 40 | // $table->dropForeign(['admin_id']); |
||
| 41 | // }); |
||
| 42 | // Schema::table('changes', function (Blueprint $table) { |
||
| 43 | // $table->foreign('admin_id') |
||
| 44 | // ->references('id')->on('admins') |
||
| 45 | // ->onUpdate('cascade') |
||
| 46 | // ->onDelete('cascade'); |
||
| 47 | // }); |
||
| 48 | |||
| 49 | } |
||
| 50 | } |
||
| 51 |