ranjith-dev #295

Merged
jothi merged 10 commits from ranjith-dev into master 2026-02-03 15:58:17 +00:00
Showing only changes of commit f464facd56 - Show all commits

View File

@@ -1,7 +1,6 @@
<?php <?php
use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Schema;
return new class extends Migration return new class extends Migration
@@ -27,19 +26,20 @@ return new class extends Migration
scanned_status_set TEXT DEFAULT NULL, scanned_status_set TEXT DEFAULT NULL,
scanned_status TEXT DEFAULT NULL, scanned_status TEXT DEFAULT NULL,
panel_box_code TEXT DEFAULT NULL,
panel_box_supplier TEXT DEFAULT NULL, panel_box_supplier TEXT DEFAULT NULL,
panel_box_serial_number TEXT DEFAULT NULL, panel_box_serial_number TEXT DEFAULT NULL,
load_rate INT NOT NULL DEFAULT (0), load_rate INT NOT NULL DEFAULT (0),
upload_status TEXT NOT NULL DEFAULT 'N', upload_status TEXT NOT NULL DEFAULT 'N',
batch_number TEXT DEFAULT NULL, batch_number TEXT DEFAULT NULL,
quantity INT DEFAULT NULL, quantity INT DEFAULT NULL,
created_at TIMESTAMP NOT NULL DEFAULT NOW(), created_at TIMESTAMP NOT NULL DEFAULT NOW(),
updated_at TIMESTAMP NOT NULL DEFAULT NOW(), updated_at TIMESTAMP NOT NULL DEFAULT NOW(),
created_by TEXT DEFAULT NULL,
updated_by TEXT DEFAULT NULL,
deleted_at TIMESTAMP, deleted_at TIMESTAMP,
UNIQUE (plant_id, serial_number), UNIQUE (plant_id, serial_number),
@@ -48,7 +48,7 @@ return new class extends Migration
); );
SQL; SQL;
DB::statement($sql); DB::statement($sql);
} }
/** /**