1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

Update Cipher_SoftDelete.sql

Co-Authored-By: Kyle Spearrin <kspearrin@users.noreply.github.com>
This commit is contained in:
Chad Scharf 2020-04-02 14:06:15 -04:00 committed by GitHub
parent eb34cc49c6
commit 3d786cbf28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,8 +24,7 @@ BEGIN
AND [Id] IN (SELECT * FROM @Ids)
-- Delete ciphers
DECLARE @UtcNow DATETIME2(7);
SET @UtcNow = GETUTCDATE();
DECLARE @UtcNow DATETIME2(7) = GETUTCDATE();
UPDATE
[dbo].[Cipher]
SET
@ -57,4 +56,4 @@ BEGIN
EXEC [dbo].[User_BumpAccountRevisionDate] @UserId
DROP TABLE #Temp
END
END