This commit is contained in:
Lizandro Guarnizo
2026-01-29 22:04:44 -05:00
parent b3154430b1
commit f3ace32ec2
3 changed files with 128 additions and 63 deletions
@@ -0,0 +1,23 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('proceso_acabados', function (Blueprint $table) {
$table->json('distribucion_proveedores')->nullable()->after('proveedor_id');
$table->boolean('terminada')->default(false)->after('fecha_recepcion');
});
}
public function down(): void
{
Schema::table('proceso_acabados', function (Blueprint $table) {
$table->dropColumn(['distribucion_proveedores', 'terminada']);
});
}
};