diff --git a/database/migrations/2025_12_06_123957_drop_unique_plant_operation_from_work_group_masters.php b/database/migrations/2025_12_06_123957_drop_unique_plant_operation_from_work_group_masters.php new file mode 100644 index 0000000..4401e81 --- /dev/null +++ b/database/migrations/2025_12_06_123957_drop_unique_plant_operation_from_work_group_masters.php @@ -0,0 +1,35 @@ +dropUnique('work_group_masters_plant_id_operation_number_key'); + }); + + // $sql = <<<'SQL' + // ALTER TABLE work_group_masters + // DROP INDEX work_group_masters_plant_id_operation_number_key; + // SQL; + + // DB::statement($sql); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('work_group_masters', function (Blueprint $table) { + // + }); + } +};