diff --git a/database/migrations/2025_08_27_195849_tipo_pedido_faltantes_y_sobrantes.php b/database/migrations/2025_08_27_195849_tipo_pedido_faltantes_y_sobrantes.php new file mode 100644 index 0000000..9e8f87b --- /dev/null +++ b/database/migrations/2025_08_27_195849_tipo_pedido_faltantes_y_sobrantes.php @@ -0,0 +1,30 @@ + 'faltantes_y_sobrantes']); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + $faltantesYSobrantes = TipoPedido::where('nombre', 'faltantes_y_sobrantes')->firstOrFail(); + $faltantesYSobrantes->delete(); + } +};