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

Fix delcaration of @UtcNow variable

This commit is contained in:
Chad Scharf 2020-04-02 14:08:19 -04:00
parent 3d786cbf28
commit 7f22088d5f
2 changed files with 3 additions and 6 deletions

View File

@ -23,8 +23,7 @@ BEGIN
[Edit] = 1
AND [Id] IN (SELECT * FROM @Ids)
DECLARE @UtcNow DATETIME2(7);
SET @UtcNow = GETUTCDATE();
DECLARE @UtcNow DATETIME2(7) = GETUTCDATE();
UPDATE
[dbo].[Cipher]
SET

View File

@ -31,8 +31,7 @@ BEGIN
[Edit] = 1
AND [Id] IN (SELECT * FROM @Ids)
DECLARE @UtcNow DATETIME2(7);
SET @UtcNow = GETUTCDATE();
DECLARE @UtcNow DATETIME2(7) = GETUTCDATE();
UPDATE
[dbo].[Cipher]
SET
@ -99,8 +98,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