id(); $table->foreignId('player_id')->constrained()->cascadeOnDelete(); $table->foreignUuid('room_id')->constrained()->cascadeOnDelete(); $table->unsignedInteger('round'); $table->string('value', 16); $table->timestamps(); $table->unique(['player_id', 'room_id', 'round']); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('votes'); } };