mirror of
https://github.com/bitwarden/server
synced 2026-01-20 09:23:28 +00:00
Deleted date on Cipher table, related sprocs and repositories updated
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
CREATE PROCEDURE [dbo].[CipherDetails_ReadByUserId]
|
||||
@UserId UNIQUEIDENTIFIER
|
||||
@UserId UNIQUEIDENTIFIER,
|
||||
@Deleted BIT = 0
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
@@ -8,4 +9,7 @@ BEGIN
|
||||
*
|
||||
FROM
|
||||
[dbo].[UserCipherDetails](@UserId)
|
||||
WHERE
|
||||
(@Deleted = 1 AND [DeletedDate] IS NOT NULL)
|
||||
OR (@Deleted = 0 AND [DeletedDate] IS NULL)
|
||||
END
|
||||
Reference in New Issue
Block a user