mirror of
https://github.com/bitwarden/server
synced 2025-12-31 07:33:43 +00:00
[Soft Delete] - API updates for soft delete + retrieval
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
@Attachments NVARCHAR(MAX),
|
||||
@CreationDate DATETIME2(7),
|
||||
@RevisionDate DATETIME2(7),
|
||||
@DeletedDate DATETIME2(7), -- not used
|
||||
@CollectionIds AS [dbo].[GuidIdArray] READONLY
|
||||
AS
|
||||
BEGIN
|
||||
@@ -35,6 +36,7 @@ BEGIN
|
||||
[Attachments] = @Attachments,
|
||||
[RevisionDate] = @RevisionDate
|
||||
-- No need to update CreationDate, Favorites, Folders, or Type since that data will not change
|
||||
-- Do not update DeletedDate because that is a separate atomic action
|
||||
WHERE
|
||||
[Id] = @Id
|
||||
|
||||
|
||||
Reference in New Issue
Block a user