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:
parent
3d786cbf28
commit
7f22088d5f
@ -23,8 +23,7 @@ BEGIN
|
|||||||
[Edit] = 1
|
[Edit] = 1
|
||||||
AND [Id] IN (SELECT * FROM @Ids)
|
AND [Id] IN (SELECT * FROM @Ids)
|
||||||
|
|
||||||
DECLARE @UtcNow DATETIME2(7);
|
DECLARE @UtcNow DATETIME2(7) = GETUTCDATE();
|
||||||
SET @UtcNow = GETUTCDATE();
|
|
||||||
UPDATE
|
UPDATE
|
||||||
[dbo].[Cipher]
|
[dbo].[Cipher]
|
||||||
SET
|
SET
|
||||||
|
@ -31,8 +31,7 @@ BEGIN
|
|||||||
[Edit] = 1
|
[Edit] = 1
|
||||||
AND [Id] IN (SELECT * FROM @Ids)
|
AND [Id] IN (SELECT * FROM @Ids)
|
||||||
|
|
||||||
DECLARE @UtcNow DATETIME2(7);
|
DECLARE @UtcNow DATETIME2(7) = GETUTCDATE();
|
||||||
SET @UtcNow = GETUTCDATE();
|
|
||||||
UPDATE
|
UPDATE
|
||||||
[dbo].[Cipher]
|
[dbo].[Cipher]
|
||||||
SET
|
SET
|
||||||
@ -99,8 +98,7 @@ BEGIN
|
|||||||
AND [Id] IN (SELECT * FROM @Ids)
|
AND [Id] IN (SELECT * FROM @Ids)
|
||||||
|
|
||||||
-- Delete ciphers
|
-- Delete ciphers
|
||||||
DECLARE @UtcNow DATETIME2(7);
|
DECLARE @UtcNow DATETIME2(7) = GETUTCDATE();
|
||||||
SET @UtcNow = GETUTCDATE();
|
|
||||||
UPDATE
|
UPDATE
|
||||||
[dbo].[Cipher]
|
[dbo].[Cipher]
|
||||||
SET
|
SET
|
||||||
|
Loading…
Reference in New Issue
Block a user