id(); $table->foreignId('team_id')->constrained('teams')->restrictOnDelete(); $table->string('first_name', 100); $table->string('last_name', 100); $table->unsignedSmallInteger('birth_year')->nullable(); $table->unsignedSmallInteger('jersey_number')->nullable(); $table->boolean('is_active')->default(true); $table->boolean('photo_permission')->default(false); $table->text('notes')->nullable(); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('players'); } };