mirror of
https://github.com/bitwarden/server
synced 2026-01-21 11:53:41 +00:00
add support for storing u2f challenges
This commit is contained in:
11
src/Sql/dbo/Tables/U2f.sql
Normal file
11
src/Sql/dbo/Tables/U2f.sql
Normal file
@@ -0,0 +1,11 @@
|
||||
CREATE TABLE [dbo].[U2f] (
|
||||
[Id] INT NOT NULL IDENTITY,
|
||||
[UserId] UNIQUEIDENTIFIER NOT NULL,
|
||||
[KeyHandle] VARCHAR (50) NOT NULL,
|
||||
[Challenge] VARCHAR (50) NOT NULL,
|
||||
[AppId] VARCHAR (50) NOT NULL,
|
||||
[Version] VARCHAR (50) NOT NULL,
|
||||
[CreationDate] DATETIME2 (7) NOT NULL,
|
||||
CONSTRAINT [PK_U2f] PRIMARY KEY CLUSTERED ([Id] ASC),
|
||||
CONSTRAINT [FK_U2f_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id])
|
||||
);
|
||||
Reference in New Issue
Block a user