id(); $table->foreignId('auditor_id')->constrained('users'); $table->string('model_type'); $table->unsignedBigInteger('model_id'); $table->enum('issue_type', ['warning', 'critical']); $table->text('description'); $table->enum('status', ['open', 'resolved'])->default('open'); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('audits'); } };