id(); $table->bigInteger('user_id')->unsigned(); $table->string('phone_number'); $table->enum('gender', ['male', 'female']); $table->enum('is_have_organization', ['yes', 'no']); $table->string('organization')->nullable(); $table->string('id_member')->nullable(); $table->timestamps(); $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('profiles'); } }