From 03f311818296aad1e246b173aeb737bf6d66580e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 21 Jun 2017 16:59:11 -0400 Subject: [PATCH] re-import db --- src/Sql/dbo/Stored Procedures/Device_ClearPushTokenById.sql | 2 +- src/Sql/dbo/Tables/U2f.sql | 3 ++- src/Sql/dbo/Views/U2fView.sql | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Sql/dbo/Stored Procedures/Device_ClearPushTokenById.sql b/src/Sql/dbo/Stored Procedures/Device_ClearPushTokenById.sql index e91edcf56..3f4992361 100644 --- a/src/Sql/dbo/Stored Procedures/Device_ClearPushTokenById.sql +++ b/src/Sql/dbo/Stored Procedures/Device_ClearPushTokenById.sql @@ -10,4 +10,4 @@ BEGIN [PushToken] = NULL WHERE [Id] = @Id -END +END \ No newline at end of file diff --git a/src/Sql/dbo/Tables/U2f.sql b/src/Sql/dbo/Tables/U2f.sql index 1765c2a11..7f8e8cdb8 100644 --- a/src/Sql/dbo/Tables/U2f.sql +++ b/src/Sql/dbo/Tables/U2f.sql @@ -1,5 +1,5 @@ CREATE TABLE [dbo].[U2f] ( - [Id] INT NOT NULL IDENTITY, + [Id] INT IDENTITY (1, 1) NOT NULL, [UserId] UNIQUEIDENTIFIER NOT NULL, [KeyHandle] VARCHAR (50) NOT NULL, [Challenge] VARCHAR (50) NOT NULL, @@ -9,3 +9,4 @@ CONSTRAINT [PK_U2f] PRIMARY KEY CLUSTERED ([Id] ASC), CONSTRAINT [FK_U2f_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id]) ); + diff --git a/src/Sql/dbo/Views/U2fView.sql b/src/Sql/dbo/Views/U2fView.sql index 72a84ac4c..0827468a4 100644 --- a/src/Sql/dbo/Views/U2fView.sql +++ b/src/Sql/dbo/Views/U2fView.sql @@ -3,4 +3,4 @@ AS SELECT * FROM - [dbo].[U2f] + [dbo].[U2f] \ No newline at end of file