Arreglada columna
This commit is contained in:
parent
e58e19bfe1
commit
d261506775
1 changed files with 1 additions and 1 deletions
|
@ -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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue