1
0
mirror of https://github.com/bitwarden/server synced 2026-01-07 11:03:37 +00:00

Stub out new org/subvault sharing tables

This commit is contained in:
Kyle Spearrin
2017-02-28 21:56:59 -05:00
parent 7e86c72386
commit e68ba4869d
24 changed files with 94 additions and 215 deletions

View File

@@ -1,19 +0,0 @@
CREATE VIEW [dbo].[CipherShareView]
AS
SELECT
C.[Id],
C.[UserId],
C.[FolderId],
C.[Type],
C.[Favorite],
ISNULL(S.[Key], C.[Key]) [Key],
C.[Data],
C.[CreationDate],
C.[RevisionDate],
S.[ReadOnly],
S.[Status],
S.[UserId] [ShareUserId]
FROM
[dbo].[Cipher] C
LEFT JOIN
[dbo].[Share] S ON C.[Id] = S.[CipherId]

View File

@@ -1,6 +0,0 @@
CREATE VIEW [dbo].[ShareView]
AS
SELECT
*
FROM
[dbo].[Share]