string('ldap_guid')->nullable()->unique()->after('id'); $table->string('ldap_domain')->nullable()->after('ldap_guid'); $table->string('username')->nullable()->unique()->after('ldap_domain'); $table->string('phone')->nullable()->after('email'); $table->string('department')->nullable()->after('phone'); $table->string('title')->nullable()->after('department'); $table->string('password')->nullable()->change(); }); } public function down(): void { Schema::table('users', function (Blueprint $table) { $table->dropColumn(['ldap_guid', 'ldap_domain', 'username', 'phone', 'department', 'title']); }); } };