diff --git a/database/migrations/2024_04_19_111613_create_playground_tables.php b/database/migrations/2024_04_19_111613_create_playground_tables.php index 97dd909..e87387c 100644 --- a/database/migrations/2024_04_19_111613_create_playground_tables.php +++ b/database/migrations/2024_04_19_111613_create_playground_tables.php @@ -10,13 +10,13 @@ public function up(): void { Schema::create('playground_sessions', function (Blueprint $table) { - $table->uuid('id'); + $table->uuid('id')->primary(); $table->ipAddress()->nullable(); $table->timestamps(); }); Schema::create('playground_notams', function (Blueprint $table) { - $table->uuid('id'); + $table->uuid('id')->primary(); $table->foreignIdFor(PlaygroundSession::class, 'session_id'); $table->text('text'); $table->string('tag', 2)->nullable();