3 Commits

Author SHA1 Message Date
901058500d Merge pull request 'ranjith-dev' (#911) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 27s
Reviewed-on: #911
2026-08-20 03:44:54 +00:00
dhanabalan
9f2ffa46ce Added inspection lot number column in panel box validation model file
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 29s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 19s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 27s
Laravel Pint / pint (pull_request) Successful in 1m57s
Laravel Larastan / larastan (pull_request) Failing after 5m31s
2026-08-20 09:14:34 +05:30
dhanabalan
e9657caeb4 Added inspection lot number column in panel box validation table
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s
2026-08-20 09:13:03 +05:30
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) {
// //
// });
}
};