id(); $table->foreignId('user_id')->nullable()->constrained()->nullOnDelete(); $table->string('full_name'); $table->string('email')->index(); $table->string('phone')->nullable(); $table->string('national_id_encrypted')->nullable(); $table->string('national_id_hash')->nullable()->index(); $table->date('membership_started_at')->nullable(); $table->date('membership_expires_at')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('members'); } };