increments('id'); $table->string('surname'); $table->string('first_name'); $table->string('last_name')->nullable(); $table->string('username')->unique(); $table->string('email')->nullable(); $table->string('password'); $table->char('language', 7)->default('en'); $table->rememberToken(); $table->softDeletes(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } };