forge/database/factories/LicenseFactory.php
Refringe a1504fe622
Global Search Structure
Reconfigured the global search to include more than one model. Refactored the search front-end to work inline instead of inside a model/popup.
2024-07-03 17:47:02 -04:00

23 lines
468 B
PHP

<?php
namespace Database\Factories;
use App\Models\License;
use Illuminate\Database\Eloquent\Factories\Factory;
use Illuminate\Support\Carbon;
class LicenseFactory extends Factory
{
protected $model = License::class;
public function definition(): array
{
return [
'name' => fake()->name(),
'link' => fake()->url(),
'created_at' => Carbon::now(),
'updated_at' => Carbon::now(),
];
}
}