1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-05 13:08:17 -05:00

favorite updates to sqlproj

This commit is contained in:
Kyle Spearrin 2016-06-09 19:07:27 -04:00
parent 0a8d6ca6e1
commit cbb0c392bc
5 changed files with 8 additions and 2 deletions

View File

@ -65,8 +65,8 @@
<Folder Include="dbo\Stored Procedures\" /> <Folder Include="dbo\Stored Procedures\" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Build Include="dbo\Tables\Cipher.sql" />
<Build Include="dbo\Tables\History.sql" /> <Build Include="dbo\Tables\History.sql" />
<Build Include="dbo\Tables\Cipher.sql" />
<Build Include="dbo\Tables\User.sql" /> <Build Include="dbo\Tables\User.sql" />
<Build Include="dbo\Views\CipherView.sql" /> <Build Include="dbo\Views\CipherView.sql" />
<Build Include="dbo\Views\HistoryView.sql" /> <Build Include="dbo\Views\HistoryView.sql" />
@ -77,6 +77,7 @@
<Build Include="dbo\Stored Procedures\Cipher_Update.sql" /> <Build Include="dbo\Stored Procedures\Cipher_Update.sql" />
<Build Include="dbo\Stored Procedures\History_ReadById.sql" /> <Build Include="dbo\Stored Procedures\History_ReadById.sql" />
<Build Include="dbo\Stored Procedures\Cipher_ReadByTypeUserId.sql" /> <Build Include="dbo\Stored Procedures\Cipher_ReadByTypeUserId.sql" />
<Build Include="dbo\Stored Procedures\Cipher_ReadByRevisionDateUserWithDeleteHistory.sql" />
<Build Include="dbo\Stored Procedures\User_ReadById.sql" /> <Build Include="dbo\Stored Procedures\User_ReadById.sql" />
<Build Include="dbo\Stored Procedures\User_ReadByEmail.sql" /> <Build Include="dbo\Stored Procedures\User_ReadByEmail.sql" />
<Build Include="dbo\Stored Procedures\User_DeleteById.sql" /> <Build Include="dbo\Stored Procedures\User_DeleteById.sql" />
@ -84,6 +85,5 @@
<Build Include="dbo\Stored Procedures\User_Update.sql" /> <Build Include="dbo\Stored Procedures\User_Update.sql" />
<Build Include="dbo\Stored Procedures\Cipher_ReadByUserId.sql" /> <Build Include="dbo\Stored Procedures\Cipher_ReadByUserId.sql" />
<Build Include="dbo\Stored Procedures\User_UpdateEmailPassword.sql" /> <Build Include="dbo\Stored Procedures\User_UpdateEmailPassword.sql" />
<Build Include="dbo\Stored Procedures\Cipher_ReadByRevisionDateWithDeleteHistory.sql" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@ -3,6 +3,7 @@
@UserId UNIQUEIDENTIFIER, @UserId UNIQUEIDENTIFIER,
@FolderId UNIQUEIDENTIFIER, @FolderId UNIQUEIDENTIFIER,
@Type TINYINT, @Type TINYINT,
@Favorite BIT,
@Data NVARCHAR(MAX), @Data NVARCHAR(MAX),
@CreationDate DATETIME2(7), @CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7) @RevisionDate DATETIME2(7)
@ -16,6 +17,7 @@ BEGIN
[UserId], [UserId],
[FolderId], [FolderId],
[Type], [Type],
[Favorite],
[Data], [Data],
[CreationDate], [CreationDate],
[RevisionDate] [RevisionDate]
@ -26,6 +28,7 @@ BEGIN
@UserId, @UserId,
@FolderId, @FolderId,
@Type, @Type,
@Favorite,
@Data, @Data,
@CreationDate, @CreationDate,
@RevisionDate @RevisionDate

View File

@ -3,6 +3,7 @@
@UserId UNIQUEIDENTIFIER, @UserId UNIQUEIDENTIFIER,
@FolderId UNIQUEIDENTIFIER, @FolderId UNIQUEIDENTIFIER,
@Type TINYINT, @Type TINYINT,
@Favorite BIT,
@Data NVARCHAR(MAX), @Data NVARCHAR(MAX),
@CreationDate DATETIME2(7), @CreationDate DATETIME2(7),
@RevisionDate DATETIME2(7) @RevisionDate DATETIME2(7)
@ -16,6 +17,7 @@ BEGIN
[UserId] = @UserId, [UserId] = @UserId,
[FolderId] = @FolderId, [FolderId] = @FolderId,
[Type] = @Type, [Type] = @Type,
[Favorite] = @Favorite,
[Data] = @Data, [Data] = @Data,
[CreationDate] = @CreationDate, [CreationDate] = @CreationDate,
[RevisionDate] = @RevisionDate [RevisionDate] = @RevisionDate

View File

@ -3,6 +3,7 @@
[UserId] UNIQUEIDENTIFIER NOT NULL, [UserId] UNIQUEIDENTIFIER NOT NULL,
[FolderId] UNIQUEIDENTIFIER NULL, [FolderId] UNIQUEIDENTIFIER NULL,
[Type] TINYINT NOT NULL, [Type] TINYINT NOT NULL,
[Favorite] BIT NOT NULL,
[Data] NVARCHAR (MAX) NOT NULL, [Data] NVARCHAR (MAX) NOT NULL,
[CreationDate] DATETIME2 (7) NOT NULL, [CreationDate] DATETIME2 (7) NOT NULL,
[RevisionDate] DATETIME2 (7) NOT NULL, [RevisionDate] DATETIME2 (7) NOT NULL,