ranjith-dev #911

Merged
jothi merged 2 commits from ranjith-dev into master 2026-08-20 03:44:55 +00:00
2 changed files with 32 additions and 1 deletions

View File

@@ -28,8 +28,8 @@ class PanelBoxValidation extends Model
'part_validation5',
'panel_box_supplier',
'panel_box_serial_number',
'batch_number',
'panel_box_code',
'inspection_lot_number',
'created_by',
'updated_by'
];

View File

@@ -0,0 +1,31 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
$sql1 = <<<'SQL'
ALTER TABLE panel_box_validations
ADD COLUMN inspection_lot_number TEXT DEFAULT NULL
SQL;
DB::statement($sql1);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('panel_box_validations', function (Blueprint $table) {
// //
// });
}
};