bigIncrements('id'); $table->string('uuid')->unique(); $table->string('email')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('google2fa_secret')->nullable(); $table->string('password'); $table->boolean('is_admin')->default(0); $table->boolean('is_root')->default(0); $table->rememberToken(); $table->timestamp('last_active')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('users'); } }