From 658adbb6be8362887f755e888b33973716b3b62a Mon Sep 17 00:00:00 2001 From: Dr Masroor Ehsan Date: Tue, 28 Jan 2025 22:24:20 +0600 Subject: [PATCH] removed uuid from details table --- app/Services/Pacs/Sync/Pipes/InsertStudies.php | 1 - .../migrations/2024_12_28_144858_create_study_details_table.php | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/Services/Pacs/Sync/Pipes/InsertStudies.php b/app/Services/Pacs/Sync/Pipes/InsertStudies.php index e9b6532..ac859a7 100644 --- a/app/Services/Pacs/Sync/Pipes/InsertStudies.php +++ b/app/Services/Pacs/Sync/Pipes/InsertStudies.php @@ -26,7 +26,6 @@ public function __invoke(StudiesSync $sync, Closure $next): StudiesSync $row = Study::create($payload['study']); $payload['details']['study_id'] = $row->id; - $payload['details']['orthanc_uuid'] = $orthanc_uuid; StudyDetails::create($payload['details']); audit() diff --git a/database/migrations/2024_12_28_144858_create_study_details_table.php b/database/migrations/2024_12_28_144858_create_study_details_table.php index bad9858..438c939 100644 --- a/database/migrations/2024_12_28_144858_create_study_details_table.php +++ b/database/migrations/2024_12_28_144858_create_study_details_table.php @@ -11,8 +11,6 @@ public function up(): void Schema::create('study_details', function (Blueprint $table) { $table->id(); $table->foreignId('study_id')->unique()->constrained('studies')->cascadeOnDelete(); - $table->string('orthanc_uuid')->unique(); - // $table->foreignId('user_id')->constrained('users'); $table->text('clinical_history')->nullable(); $table->text('surgical_history')->nullable(); $table->text('lab_results')->nullable();