Merge pull request 'ranjith-dev' (#246) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 16s

Reviewed-on: #246
This commit was merged in pull request #246.
This commit is contained in:
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', 'upper',
'lower', 'lower',
'middle', 'middle',
'category',
'created_at', 'created_at',
'updated_at', 'updated_at',
'created_by', '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) {
// //
// });
}
};