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

Reviewed-on: #1434
This commit was merged in pull request #1434.
This commit is contained in:
2026-11-16 09:38:22 +00:00

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) {
// //
// });
}
};