increments('id'); $table->integer('user_id')->unsigned(); $table->boolean('is_company_profile')->default(false); $table->string('profile_link')->unique(); $table->string('short_bio')->nullable(); $table->string('profile_photo_link')->nullable(); $table->string('cover_photo_link')->nullable(); $table->string('technoblog_email')->unique(); $table->string('facebook_link')->nullable(); $table->string('instagram_link')->nullable(); $table->string('twitter_link')->nullable(); $table->string('youtube_link')->nullable(); $table->string('skype_link')->nullable(); $table->timestamps(); $table->foreign('user_id')->references("id")->on("users")->onDelete("cascade")->onUpdate("cascade"); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('user_profiles'); } }