removed uuid from details table

This commit is contained in:
Dr Masroor Ehsan 2025-01-28 22:24:20 +06:00
parent e20f7aa703
commit 658adbb6be
2 changed files with 0 additions and 3 deletions

View File

@ -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()

View File

@ -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();