1
0
mirror of https://github.com/bitwarden/server synced 2026-01-07 19:13:50 +00:00

reimport sql proj. added cipherdetails function.

This commit is contained in:
Kyle Spearrin
2017-03-21 22:05:26 -04:00
parent 8cf6e8568b
commit eaeb18a46b
24 changed files with 70 additions and 76 deletions

View File

@@ -1,12 +0,0 @@
CREATE VIEW [dbo].[CipherDetailsView]
AS
SELECT
C.*,
CASE WHEN F.[CipherId] IS NULL THEN 0 ELSE 1 END [Favorite],
FC.[FolderId]
FROM
[dbo].[Cipher] C
LEFT JOIN
[dbo].[Favorite] F ON F.[CipherId] = C.[Id]
LEFT JOIN
[dbo].[FolderCipher] FC ON FC.[CipherId] = C.[Id]

View File

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