Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
39 | public function down() |
||
40 | { |
||
41 | Schema::table('product_categories_xref', function (Blueprint $table) { |
||
42 | $table->dropForeign(['product_id']); |
||
43 | $table->dropForeign(['category_id']); |
||
44 | }); |
||
45 | |||
46 | Schema::dropIfExists('product_categories'); |
||
47 | Schema::dropIfExists('product_categories_xref'); |
||
48 | } |
||
50 |