removed uuid from details table
This commit is contained in:
parent
e20f7aa703
commit
658adbb6be
@ -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()
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user