1
0
forked from poc/pds

Added status column in gr master table

This commit is contained in:
dhanabalan
2025-10-04 15:03:44 +05:30
parent 4645965bf7
commit c53f9c107b

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