increments('id'); $table->string('name'); $table->string('position'); $table->string('email')->nullable(); $table->string('pin_code')->nullable(); $table->text('permissions')->nullable(); $table->timestamp('email_verified_at')->nullable(); $table->string('remember_token', 100)->nullable(); $table->timestamps(); // Tambahkan index untuk email $table->index('email'); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('employees'); } }