removed unneeded fields

This commit is contained in:
Masroor Ehsan 2025-01-08 20:47:17 +06:00
parent 6a8e5837ec
commit ca640279ed

View File

@ -22,12 +22,8 @@ public function up(): void
$table->foreignIdFor(Facility::class)->index()->nullable()->constrained()->nullOnDelete(); $table->foreignIdFor(Facility::class)->index()->nullable()->constrained()->nullOnDelete();
$table->foreignIdFor(Study::class)->index()->constrained()->cascadeOnDelete(); $table->foreignIdFor(Study::class)->index()->constrained()->cascadeOnDelete();
$table->foreignIdFor(User::class, 'read_by_id')->index()->constrained()->cascadeOnDelete(); $table->foreignIdFor(User::class, 'read_by_id')->index()->constrained()->cascadeOnDelete();
$table->foreignIdFor(User::class, 'dictated_by_id')->index()->nullable()->constrained()->nullOnDelete(); $table->foreignIdFor(User::class, 'dictated_by_id')->index()->nullable()->constrained()->nullOnDelete();
$table->timestamp('dictated_at')->nullable();
$table->foreignIdFor(User::class, 'approved_by_id')->index()->nullable()->constrained()->nullOnDelete(); $table->foreignIdFor(User::class, 'approved_by_id')->index()->nullable()->constrained()->nullOnDelete();
$table->timestamp('approved_at')->nullable();
$table->string('report_title')->nullable(); $table->string('report_title')->nullable();
$table->binary('content')->nullable(); $table->binary('content')->nullable();