Add column to shared_items to store the encrypted username, adjust logic to support encrypting/decrypting the login shared username

This commit is contained in:
Marcus Hill
2023-01-28 21:20:11 +00:00
parent 0a1fb2227e
commit 64417d6fb4
6 changed files with 44 additions and 24 deletions

1
db.sql
View File

@@ -1098,6 +1098,7 @@ CREATE TABLE `shared_items` (
`item_key` varchar(255) NOT NULL,
`item_type` varchar(255) NOT NULL,
`item_related_id` int(11) NOT NULL,
`item_encrypted_username` varchar(255) DEFAULT NULL,
`item_encrypted_credential` varchar(255) DEFAULT NULL,
`item_note` varchar(255) DEFAULT NULL,
`item_views` int(11) NOT NULL,