mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 13:38:13 -05:00
delete folders too when purging
This commit is contained in:
parent
e2cc0ce95a
commit
7bbf1623c7
@ -22,6 +22,13 @@ BEGIN
|
||||
COMMIT TRANSACTION Cipher_DeleteByUserId_Ciphers
|
||||
END
|
||||
|
||||
-- Delete folders
|
||||
DELETE
|
||||
FROM
|
||||
[dbo].[Folder]
|
||||
WHERE
|
||||
[UserId] = @UserId
|
||||
|
||||
-- Cleanup user
|
||||
EXEC [dbo].[User_UpdateStorage] @UserId
|
||||
EXEC [dbo].[User_BumpAccountRevisionDate] @UserId
|
||||
|
Loading…
x
Reference in New Issue
Block a user