Quitado codigo para settear en 0 la cantidad de ollas al crear la columna
This commit is contained in:
parent
7a7cd678ad
commit
b0ac8f538c
1 changed files with 0 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use App\Subpedido;
|
|
||||||
use Illuminate\Database\Migrations\Migration;
|
use Illuminate\Database\Migrations\Migration;
|
||||||
use Illuminate\Database\Schema\Blueprint;
|
use Illuminate\Database\Schema\Blueprint;
|
||||||
use Illuminate\Support\Facades\Schema;
|
use Illuminate\Support\Facades\Schema;
|
||||||
|
@ -17,7 +16,6 @@ class CantidadOllasPedidos extends Migration
|
||||||
Schema::table('subpedidos', function (Blueprint $table) {
|
Schema::table('subpedidos', function (Blueprint $table) {
|
||||||
$table->integer('cantidad_ollas')->nullable();
|
$table->integer('cantidad_ollas')->nullable();
|
||||||
});
|
});
|
||||||
Subpedido::where('tipo_pedido_id', 1)->update(['cantidad_ollas' => 0]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue