1
0
mirror of https://github.com/bitwarden/server synced 2026-01-05 18:13:31 +00:00

chore(db): add Installation.LastActivityDate column (#5060)

* chore(mssql): add `Installation.LastActivityDate` column

* chore(ef): add `Installation.LastActivityDate` column
This commit is contained in:
Addison Beck
2024-12-13 16:04:55 -05:00
committed by GitHub
parent 141a046a28
commit a8091bf585
14 changed files with 9014 additions and 14 deletions

View File

@@ -1,9 +1,10 @@
CREATE PROCEDURE [dbo].[Installation_Create]
CREATE PROCEDURE [dbo].[Installation_Create]
@Id UNIQUEIDENTIFIER OUTPUT,
@Email NVARCHAR(256),
@Key VARCHAR(150),
@Enabled BIT,
@CreationDate DATETIME2(7)
@CreationDate DATETIME2(7),
@LastActivityDate DATETIME2(7) = NULL
AS
BEGIN
SET NOCOUNT ON
@@ -14,7 +15,8 @@ BEGIN
[Email],
[Key],
[Enabled],
[CreationDate]
[CreationDate],
[LastActivityDate]
)
VALUES
(
@@ -22,6 +24,7 @@ BEGIN
@Email,
@Key,
@Enabled,
@CreationDate
@CreationDate,
@LastActivityDate
)
END