1
0
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:
Kyle Spearrin
2017-03-17 09:29:46 -04:00
parent 1d3092b6b2
commit 3e0c0224b5
16 changed files with 96 additions and 64 deletions

View File

@@ -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