increments('id'); $table->string('name'); $table->string('email')->unique(); $table->string('password')->nullable(); $table->string('full_name')->nullable(); $table->string('ou')->nullable(); $table->rememberToken(); $table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP')); $table->index([DB::raw('email(191)')]); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }