diff --git a/database/migrations/2024_12_27_060234_create_studies_table.php b/database/migrations/2024_12_27_060234_create_studies_table.php index cc2ce68..2cf9f88 100644 --- a/database/migrations/2024_12_27_060234_create_studies_table.php +++ b/database/migrations/2024_12_27_060234_create_studies_table.php @@ -37,7 +37,7 @@ public function up(): void $table->timestamp('assigned_at')->nullable(); $table->timestamp('locked_at')->nullable(); $table->timestamp('reported_at')->nullable(); - $table->timestamp('authorized_at')->nullable(); + $table->timestamp('approved_at')->nullable(); $table->timestamp('archived_at')->nullable(); $table->unsignedTinyInteger('study_status')->default(StudyLevelStatus::Pending->value); @@ -50,8 +50,8 @@ public function up(): void $table->unsignedBigInteger('assigned_physician_id')->nullable(); $table->unsignedBigInteger('locking_physician_id')->nullable(); $table->unsignedBigInteger('reporting_physician_id')->nullable(); - $table->unsignedBigInteger('authorizing_physician_id')->nullable(); - $table->unsignedBigInteger('referring_doctor_id')->nullable(); + $table->unsignedBigInteger('approving_physician_id')->nullable(); + $table->unsignedBigInteger('clinician_id')->nullable(); $table->unsignedBigInteger('institute_id'); $table->unsignedBigInteger('facility_id')->nullable();