ranjith-dev #246

Merged
jothi merged 2 commits from ranjith-dev into master 2026-10-26 11:35:14 +00:00
2 changed files with 32 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ class ProductCharacteristicsMaster extends Model
'upper',
'lower',
'middle',
'category',
'created_at',
'updated_at',
'created_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 product_characteristics_masters
ADD COLUMN category TEXT DEFAULT NULL
SQL;
DB::statement($sql1);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('product_characteristics_masters', function (Blueprint $table) {
// //
// });
}
};