id(); $table->string('name')->unique(); $table->string('full_name')->nullable(); $table->string('email', 191)->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password'); $table->string('profile_photo_path', 2048)->nullable(); $table->text('about')->nullable(); $table->string('about_short', 150)->nullable(); $table->text('motivation')->nullable(); $table->date('date_of_birth')->nullable(); $table->string('website')->nullable(); $table->string('phone', 20)->nullable(); $table->boolean('phone_public')->default(0); $table->rememberToken(); $table->foreignId('current_team_id')->nullable(); $table->integer('cyclos_id')->unique()->nullable(); $table->string('cyclos_salt', 32)->nullable(); $table->string('cyclos_skills', 500)->nullable(); $table->integer('limit_min')->nullable(); $table->integer('limit_max')->nullable(); $table->string('comment', 500)->nullable(); $table->string('lang_preference', 6)->nullable(); $table->timestamps(); $table->datetime('inactive_at')->nullable(); $table->datetime('last_login_at')->nullable(); $table->string('last_login_ip')->nullable(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } };