removed unique constraint in gr master #1434

Merged
jothi merged 1 commits from ranjith-dev into master 2026-11-16 09:38:23 +00:00
Showing only changes of commit abe1064044 - Show all commits

View File

@@ -0,0 +1,29 @@
<?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
{
DB::statement('
ALTER TABLE gr_masters
DROP CONSTRAINT gr_masters_plant_id_gr_number_key
');
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('gr_masters', function (Blueprint $table) {
// //
// });
}
};