removed unique constraint in gr master
Some checks failed
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 22s
Gemini PR Review / Gemini PR Review (pull_request) Failing after 18s
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (pull_request) Successful in 15s
Laravel Pint / pint (pull_request) Successful in 2m36s
Laravel Larastan / larastan (pull_request) Failing after 6m42s

This commit is contained in:
dhanabalan
2026-11-16 15:08:03 +05:30
parent d8345c7975
commit abe1064044

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