Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function down() |
||
38 | { |
||
39 | Schema::table('permission_' . str_singular(config('laravel-acl.authTable')), function (Blueprint $table) { |
||
40 | $table->dropForeign(['permission_id']); |
||
41 | $table->dropForeign([str_singular(config('laravel-acl.authTable')) . '_id']); |
||
42 | }); |
||
43 | |||
44 | Schema::dropIfExists('permission_' . str_singular(config('laravel-acl.authTable'))); |
||
45 | } |
||
46 | } |
||
47 |