1
0
mirror of https://github.com/bitwarden/server synced 2025-12-28 22:23:30 +00:00

Added RevisionDate to User table/domain

This commit is contained in:
Kyle Spearrin
2016-02-21 00:36:08 -05:00
parent 1b3acec905
commit 5d7a0216bf
7 changed files with 26 additions and 14 deletions

View File

@@ -9,7 +9,8 @@
@TwoFactorEnabled BIT,
@TwoFactorProvider TINYINT,
@AuthenticatorKey NVARCHAR(50),
@CreationDate DATETIME2(7)
@CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7)
AS
BEGIN
UPDATE
@@ -24,7 +25,8 @@ BEGIN
[TwoFactorEnabled] = @TwoFactorEnabled,
[TwoFactorProvider] = TwoFactorProvider,
[AuthenticatorKey] = @AuthenticatorKey,
[CreationDate] = @CreationDate
[CreationDate] = @CreationDate,
[RevisionDate] = @RevisionDate
WHERE
[Id] = @Id
END