Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
28 | public function down() |
||
29 | { |
||
30 | Schema::table('pdrb_harga_dasars', function(Blueprint $table) { |
||
31 | $table->dropForeign('pdrb_harga_dasars_province_id_foreign'); |
||
32 | }); |
||
33 | Schema::table('pdrb_harga_dasars', function(Blueprint $table) { |
||
34 | $table->dropForeign('pdrb_harga_dasars_regency_id_foreign'); |
||
35 | }); |
||
36 | Schema::table('regencies', function(Blueprint $table) { |
||
37 | $table->dropForeign('regencies_province_id_foreign'); |
||
38 | }); |
||
39 | } |
||
40 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.