initial Setup and data structure

This commit is contained in:
2026-08-14 20:35:14 +02:00
commit 6152a0a122
306 changed files with 36151 additions and 0 deletions
@@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('rooms', function (Blueprint $table) {
$table->uuid('id')->primary();
$table->string('title', 100)->nullable();
$table->json('deck_config');
$table->unsignedInteger('current_round')->default(1);
$table->timestamp('revealed_at')->nullable();
$table->unsignedBigInteger('state_version')->default(1);
$table->timestamps();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('rooms');
}
};