increments('id'); $table->string('name'); $table->string('email')->unique(); $table->string('password'); $table->string('avatar')->default('0.png'); $table->string('prevHash', 60)->unique(); $table->string('hash', 60)->unique(); $table->string('api_token')->default(""); $table->tinyInteger('verified')->default(0); $table->tinyInteger('admin')->default(0); $table->string('email_token')->nullable(); $table->rememberToken(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }