increments('id'); $table->string('nickname'); $table->string('name')->nullable(); $table->boolean('gender_id')->unsigned(); $table->unsignedInteger('father_id')->nullable(); $table->unsignedInteger('mother_id')->nullable(); $table->unsignedInteger('parent_id')->nullable(); $table->date('dob')->nullable(); $table->date('dod')->nullable(); $table->date('yod')->nullable(); $table->string('email')->unique()->nullable(); $table->string('password')->nullable(); $table->string('address')->nullable(); $table->string('city')->nullable(); $table->string('phone')->nullable(); $table->string('photo_path')->nullable(); $table->unsignedInteger('manager_id')->nullable(); $table->rememberToken(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }