update all model factories

This commit is contained in:
Matthew Penner
2021-01-15 18:01:48 -07:00
parent c18e186589
commit d550d770da
18 changed files with 759 additions and 212 deletions

View File

@@ -0,0 +1,28 @@
<?php
namespace Database\Factories;
use Pterodactyl\Models\Schedule;
use Illuminate\Database\Eloquent\Factories\Factory;
class ScheduleFactory extends Factory
{
/**
* The name of the factory's corresponding model.
*
* @var string
*/
protected $model = Schedule::class;
/**
* Define the model's default state.
*
* @return array
*/
public function definition(): array
{
return [
'name' => $this->faker->firstName(),
];
}
}