This commit is contained in:
Masroor Ehsan 2025-01-25 15:33:51 +06:00
parent 5125a9502a
commit 1de96441fa

View File

@ -17,6 +17,7 @@ public function up(): void
$table->foreignIdFor(User::class, 'requesting_user_id')->index()->constrained()->cascadeOnDelete();
$table->foreignIdFor(User::class, 'performing_user_id')->index()->nullable()->constrained()->nullOnDelete();
$table->unsignedTinyInteger('status')->default(StudyRequestStatus::Pending->value);
$table->string('remarks')->nullable();
$table->timestamps();
$table->index(['status', 'created_at']);