Cambio en el orden en que se bajan las tablas

This commit is contained in:
Alejandro Tasistro 2024-07-11 21:35:56 -03:00
parent d0d323d6f7
commit 0539904155
2 changed files with 3 additions and 3 deletions

View file

@ -31,7 +31,7 @@ return new class extends Migration
*/ */
public function down(): void public function down(): void
{ {
Schema::dropIfExists('regiones');
Schema::dropIfExists('barrios'); Schema::dropIfExists('barrios');
Schema::dropIfExists('regiones');
} }
}; };

View file

@ -38,7 +38,7 @@ return new class extends Migration
*/ */
public function down(): void public function down(): void
{ {
Schema::dropIfExists('pedidos');
Schema::dropIfExists('pedido_producto'); Schema::dropIfExists('pedido_producto');
Schema::dropIfExists('pedidos');
} }
}; };