Skip to content

Commit a4c073f

Browse files
fix: correct order of table drops in migration down method
1 parent 24b3656 commit a4c073f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

database/migrations/create_priceable_tables.php.stub

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ return new class extends Migration
7070
*/
7171
public function down()
7272
{
73-
Schema::dropIfExists(config('priceable.tables.vat_rates'));
74-
Schema::dropIfExists(config('priceable.tables.currencies'));
75-
Schema::dropIfExists(config('priceable.tables.price_types'));
7673
Schema::dropIfExists(config('priceable.tables.prices'));
74+
Schema::dropIfExists(config('priceable.tables.price_types'));
75+
Schema::dropIfExists(config('priceable.tables.currencies'));
76+
Schema::dropIfExists(config('priceable.tables.vat_rates'));
7777
}
7878
};

0 commit comments

Comments
 (0)