1
0
forked from poc/pds

Added inspection lot number column in production characteristic table

This commit is contained in:
dhanabalan
2026-08-18 17:05:47 +05:30
parent eaebee8336
commit 292ff86e39
2 changed files with 37 additions and 0 deletions

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 production_characteristics
ADD COLUMN inspection_lot_number TEXT DEFAULT NULL
SQL;
DB::statement($sql1);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('production_characteristics', function (Blueprint $table) {
// //
// });
}
};