change gitignore

This commit is contained in:
2025-09-02 13:57:30 +02:00
parent d8b89fc4fe
commit 1bcb7eb180
9363 changed files with 1088355 additions and 608 deletions
@@ -0,0 +1,34 @@
<?php
namespace Vanguard\UserActivity\Database\Factories;
use Illuminate\Database\Eloquent\Factories\Factory;
use Vanguard\UserActivity\Activity;
use Vanguard\User;
class ActivityFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Activity::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition()
{
return [
'user_id' => function () {
return User::factory()->create()->id;
},
'description' => substr($this->faker->paragraph, 0, 255),
'ip_address' => $this->faker->ipv4,
'user_agent' => $this->faker->userAgent
];
}
}