mirror of
https://github.com/bitwarden/server
synced 2026-01-08 11:33:26 +00:00
AccountRevDate bump via sprocs, no more triggers
This commit is contained in:
@@ -41,4 +41,13 @@ BEGIN
|
||||
@CreationDate,
|
||||
@RevisionDate
|
||||
)
|
||||
|
||||
IF @OrganizationId IS NOT NULL
|
||||
BEGIN
|
||||
EXEC [dbo].[User_BumpAccountRevisionDateByOrganizationId] @OrganizationId
|
||||
END
|
||||
ELSE IF @UserId IS NOT NULL
|
||||
BEGIN
|
||||
EXEC [dbo].[User_BumpAccountRevisionDate] @UserId
|
||||
END
|
||||
END
|
||||
Reference in New Issue
Block a user