some db changes, frontend changes

This commit is contained in:
2026-09-18 20:55:06 +02:00
parent c5ba074c9b
commit 096c3b0fd5
8 changed files with 28 additions and 11 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
namespace Database\Factories;
use App\Models\Model;
use App\Models\Wish;
use Illuminate\Database\Eloquent\Factories\Factory;
/**
@@ -19,7 +19,7 @@ class WishFactory extends Factory
{
return [
'title' => fake()->sentence(),
'decription' => fake()->paragraph(),
'description' => fake()->paragraph(),
'reward' => fake()->word(),
];
}
@@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void
{
Schema::create('wishes', function (Blueprint $table) {
$table->uuid()->primary();
$table->uuid('id')->primary();
$table->string('title');
$table->text('description');
$table->string('reward')->nullable();