1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01:00

re-import db

This commit is contained in:
Kyle Spearrin 2017-06-21 16:59:11 -04:00
parent 0c84f9c151
commit 03f3118182
3 changed files with 4 additions and 3 deletions

View File

@ -10,4 +10,4 @@ BEGIN
[PushToken] = NULL [PushToken] = NULL
WHERE WHERE
[Id] = @Id [Id] = @Id
END END

View File

@ -1,5 +1,5 @@
CREATE TABLE [dbo].[U2f] ( CREATE TABLE [dbo].[U2f] (
[Id] INT NOT NULL IDENTITY, [Id] INT IDENTITY (1, 1) NOT NULL,
[UserId] UNIQUEIDENTIFIER NOT NULL, [UserId] UNIQUEIDENTIFIER NOT NULL,
[KeyHandle] VARCHAR (50) NOT NULL, [KeyHandle] VARCHAR (50) NOT NULL,
[Challenge] VARCHAR (50) NOT NULL, [Challenge] VARCHAR (50) NOT NULL,
@ -9,3 +9,4 @@
CONSTRAINT [PK_U2f] PRIMARY KEY CLUSTERED ([Id] ASC), CONSTRAINT [PK_U2f] PRIMARY KEY CLUSTERED ([Id] ASC),
CONSTRAINT [FK_U2f_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id]) CONSTRAINT [FK_U2f_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id])
); );

View File

@ -3,4 +3,4 @@ AS
SELECT SELECT
* *
FROM FROM
[dbo].[U2f] [dbo].[U2f]