From 68cb740187c21c037e572ba029194a110818ebf1 Mon Sep 17 00:00:00 2001 From: ale Date: Wed, 27 Aug 2025 20:01:31 -0300 Subject: [PATCH] Agregado tipo pedido faltantes y sobrantes a db --- ...5849_tipo_pedido_faltantes_y_sobrantes.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 database/migrations/2025_08_27_195849_tipo_pedido_faltantes_y_sobrantes.php 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(); + } +};