ataractic
ataractic2y ago

Manually edit existing KV table

Hello! another day, another question. Is there a way to manually edit KV database to modify an entry?
{
key: [ "users", "b9af81a7-8b26-4b2f-b429-85a03d6d0c38" ],
value: {
displayName: "test3",
id: "b9af81a7-8b26-4b2f-b429-85a03d6d0c38",
registrationDate: 2023-06-04T01:05:41.539Z,
role: "member",
},
versionstamp: "00000000000000070000"
}
{
key: [ "users", "b9af81a7-8b26-4b2f-b429-85a03d6d0c38" ],
value: {
displayName: "test3",
id: "b9af81a7-8b26-4b2f-b429-85a03d6d0c38",
registrationDate: 2023-06-04T01:05:41.539Z,
role: "member",
},
versionstamp: "00000000000000070000"
}
For example suppose I have this entry in my database for a user, how can I manually change the user role property?
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
ataractic
ataracticOP2y ago
ah that's kinda bad imo but if it's the only way ¯\_(ツ)_/¯