1
0
forked from poc/pds

removed constraint in production plan table

This commit is contained in:
dhanabalan
2026-10-06 11:44:30 +05:30
parent 1cc78f8e68
commit 755a0093e2

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 production_plans
DROP CONSTRAINT production_plans_plan_quantity_check
');
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('production_plans', function (Blueprint $table) {
// //
// });
}
};