fixed photos+likes system migration

This commit is contained in:
Codex Agent
2025-11-15 21:26:00 +01:00
parent d2fa5f943e
commit 9e707ce618

View File

@@ -13,7 +13,7 @@ return new class extends Migration
Schema::create('photos', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('event_id');
$table->unsignedBigInteger('emotion_id');
$table->unsignedBigInteger('emotion_id')->nullable();
$table->unsignedBigInteger('task_id')->nullable();
$table->string('guest_name');
$table->string('file_path');