backend fixes, better case handling, some frontend changes

This commit is contained in:
2026-08-11 17:57:38 +02:00
parent ddcb410eee
commit 0f1de1fffc
7 changed files with 39 additions and 25 deletions
+2 -1
View File
@@ -18,9 +18,10 @@ class TlaFactory extends Factory
public function definition(): array
{
return [
'abbreviation' => fake()->word() . ' ' . fake()->word() . ' ' . fake()->word(),
'acronym' => fake()->word() . ' ' . fake()->word() . ' ' . fake()->word(),
'hint' => fake()->sentence(),
'language' => fake()->randomElement(['hu', 'en']),
'context' => fake()->paragraph(),
];
}
}
@@ -13,10 +13,11 @@ return new class extends Migration
{
Schema::create('tla', function (Blueprint $table) {
$table->id();
$table->string('abbreviation');
$table->string('acronym');
$table->string('hint')->nullable();
$table->enum('language', ['hu', 'en']);
$table->date('used')->nullable();
$table->longText('context')->nullable();
$table->timestamps();
});
}