some db changes, frontend changes
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user