1
0
mirror of https://github.com/bitwarden/server synced 2025-12-31 23:53:17 +00:00

apis for org vault listing

This commit is contained in:
Kyle Spearrin
2017-04-17 17:01:23 -04:00
parent 5b76c43fb0
commit 0e5799f7c8
10 changed files with 118 additions and 7 deletions

View File

@@ -18,6 +18,12 @@ CREATE NONCLUSTERED INDEX [IX_Cipher_UserId_Type]
ON [dbo].[Cipher]([UserId] ASC, [Type] ASC);
GO
CREATE NONCLUSTERED INDEX [IX_Cipher_OrganizationId_Type]
ON [dbo].[Cipher]([OrganizationId] ASC, [Type] ASC)
WHERE [OrganizationId] IS NOT NULL;
GO
CREATE TRIGGER [dbo].[Cipher_Inserted]
ON [dbo].[Cipher] AFTER INSERT