1
0
mirror of https://github.com/bitwarden/server synced 2026-01-10 12:33:49 +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

@@ -15,7 +15,6 @@ BEGIN
[dbo].[Cipher]
WHERE
[UserId] = @Id
AND [Type] > 0
SET @BatchSize = @@ROWCOUNT
@@ -24,13 +23,6 @@ BEGIN
BEGIN TRANSACTION User_DeleteById
DELETE
FROM
[dbo].[Cipher]
WHERE
[UserId] = @Id
AND [Type] = 0
DELETE
FROM
[dbo].[Device]