id(); $table->string('name', 100); $table->string('email', 100)->unique(); $table->string('password'); $table->string('institution', 100)->nullable(); $table->enum('gender', ['male', 'female', 'prefer not to say'])->default('prefer not to say')->nullable(); $table->string('phone_number', 50)->nullable(); $table->text('tujuan_permohonan')->nullable(); $table->enum('role', ['admin', 'operator', 'peneliti'])->default('peneliti'); $table->enum('approval_status', ['pending', 'approved', 'rejected'])->default('pending'); $table->rememberToken(); $table->timestamps(); }); (new AdminUserSeeder())->run(); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('users'); } };