1
0
mirror of https://github.com/bitwarden/server synced 2026-01-09 03:53:42 +00:00

Merge branch 'main' into dbops/dbops-31/csv-import

This commit is contained in:
mkincaid-bw
2025-11-07 15:57:56 -08:00
committed by GitHub
38 changed files with 1990 additions and 256 deletions

View File

@@ -0,0 +1,15 @@
CREATE OR ALTER PROCEDURE [dbo].[SecurityTask_MarkCompleteByCipherIds]
@CipherIds AS [dbo].[GuidIdArray] READONLY
AS
BEGIN
SET NOCOUNT ON
UPDATE
[dbo].[SecurityTask]
SET
[Status] = 1, -- Completed
[RevisionDate] = SYSUTCDATETIME()
WHERE
[CipherId] IN (SELECT [Id] FROM @CipherIds)
AND [Status] <> 1 -- Not already completed
END