finish database, start controller
Build / Build-image (push) Failing after 8s

This commit is contained in:
2026-08-09 01:54:47 +02:00
parent 7bb26eeb43
commit c1e8daacff
7 changed files with 154 additions and 2 deletions
+26
View File
@@ -0,0 +1,26 @@
<?php
namespace Database\Factories;
use App\Models\Tla;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
* @extends Factory<Tla>
*/
class TlaFactory extends Factory
{
/**
* Define the model's default state.
*
* @return array<string, mixed>
*/
public function definition(): array
{
return [
'abbreviation' => fake()->word() . ' ' . fake()->word() . ' ' . fake()->word(),
'hint' => fake()->word(),
'language' => fake()->randomElement(['hu', 'en']),
];
}
}