| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | public function up() |
||
| 14 | { |
||
| 15 | // Schema::table('changes', function (Blueprint $table) { |
||
| 16 | // $table->integer('admin_id')->unsigned()->nullable()->change(); |
||
| 17 | // }); |
||
| 18 | // Schema::table('changes', function (Blueprint $table) { |
||
| 19 | // $table->dropForeign(['admin_id']); |
||
| 20 | // }); |
||
| 21 | // Schema::table('changes', function (Blueprint $table) { |
||
| 22 | // $table->foreign('admin_id') |
||
| 23 | // ->references('id')->on('admins') |
||
| 24 | // ->onUpdate('cascade') |
||
| 25 | // ->onDelete('set null'); |
||
| 26 | // }); |
||
| 27 | } |
||
| 28 | |||
| 51 |