1
0
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:
Kyle Spearrin
2017-04-24 23:28:31 -04:00
parent f2aa568e86
commit 6e87d9c21f
22 changed files with 170 additions and 60 deletions

View File

@@ -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