mirror of
https://github.com/bitwarden/server
synced 2026-01-04 17:43:53 +00:00
cipher updates
move cipher info to favorites and folders sprocs for getting shared cipher information
This commit is contained in:
@@ -4,21 +4,9 @@ AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
|
||||
BEGIN TRANSACTION Cipher_DeleteById
|
||||
|
||||
UPDATE
|
||||
[dbo].[Cipher]
|
||||
SET
|
||||
[FolderId] = NULL,
|
||||
[RevisionDate] = GETUTCDATE()
|
||||
WHERE
|
||||
[FolderId] = @Id
|
||||
|
||||
DELETE
|
||||
FROM
|
||||
[dbo].[Cipher]
|
||||
WHERE
|
||||
[Id] = @Id
|
||||
|
||||
COMMIT TRANSACTION Cipher_DeleteById
|
||||
END
|
||||
Reference in New Issue
Block a user