id(); $table->foreignId('user_id')->constrained()->onDelete('cascade'); $table->string('name'); $table->string('email')->unique(); $table->string('phone_number')->nullable(); $table->string('vidhvan_id'); $table->string('google_scholar_id'); $table->string('linkedin_id')->nullable(); $table->string('designation')->nullable(); $table->string('salutation'); $table->json('qualification')->nullable(); // multiple quals $table->text('address')->nullable(); $table->string('employee_id'); $table->string('department_name'); $table->string('programme_name'); $table->date('date_of_joining'); $table->string('profile_photo_path')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('faculty_profiles'); } };