Arreglada columna

This commit is contained in:
Alejandro Tasistro 2025-06-23 22:48:51 -03:00
parent e58e19bfe1
commit d261506775

View file

@ -17,7 +17,7 @@ class CantidadOllasPedidos extends Migration
Schema::table('subpedidos', function (Blueprint $table) {
$table->integer('cantidad_ollas')->nullable();
});
Subpedido::where('tipo_pedido', 1)->update(['cantidad_ollas' => 0]);
Subpedido::where('tipo_pedido_id', 1)->update(['cantidad_ollas' => 0]);
}
/**