id(); $table->foreignId('employee_id')->constrained('users')->onDelete('cascade'); $table->foreignId('award_type_id')->constrained('award_types')->onDelete('cascade'); $table->date('award_date'); $table->string('gift')->nullable(); $table->decimal('monetary_value', 15, 2)->nullable(); $table->text('description')->nullable(); $table->string('certificate')->nullable(); $table->string('photo')->nullable(); $table->foreignId('created_by')->constrained('users')->onDelete('cascade'); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('awards'); } };