feat: add app and database modules
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace Database\Factories;
|
||||
|
||||
use App\Models\AiHealingLog;
|
||||
use Illuminate\Database\Eloquent\Factories\Factory;
|
||||
|
||||
class AiHealingLogFactory extends Factory
|
||||
{
|
||||
protected $model = AiHealingLog::class;
|
||||
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
'error_type' => 'Exception',
|
||||
'error_message' => $this->faker->sentence,
|
||||
'stack_trace' => $this->faker->text,
|
||||
'status' => 'pending',
|
||||
'ai_diagnosis' => $this->faker->paragraph,
|
||||
'action_taken' => $this->faker->sentence,
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user