increments('id'); $table->string('name')->unique(); $table->string('email'); $table->string('password'); $table->rememberToken(); $table->timestamps(); $table->softDeletes(); }); DB::statement('ALTER TABLE users ADD FULLTEXT fulltext_index (name, email)'); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }