increments('id'); $table->timestamps(); $table->string('name')->unique(); $table->string('title')->index(); $table->text('bio')->nullable(); $table->text('website')->nullable(); $table->string('email')->unique(); // would have to be nullable if we supported login via providers that don't give us e-mail $table->string('password')->nullable(); // null if registered via provider and not set a pw yet $table->boolean('confirmed')->default(false); // set to 1 after e-mail is verified $table->rememberToken(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }