mirror of
https://github.com/bitwarden/server.git
synced 2024-12-24 17:17:40 +01:00
index updates
This commit is contained in:
parent
221f5fa154
commit
9fbbf12290
@ -21,6 +21,7 @@ CREATE NONCLUSTERED INDEX [IX_Cipher_OrganizationId_Type]
|
||||
|
||||
|
||||
GO
|
||||
CREATE NONCLUSTERED INDEX [IX_Cipher_UserId_Type]
|
||||
ON [dbo].[Cipher]([UserId] ASC, [Type] ASC);
|
||||
CREATE NONCLUSTERED INDEX [IX_Cipher_UserId_Type_IncludeAll]
|
||||
ON [dbo].[Cipher]([UserId] ASC, [Type] ASC)
|
||||
INCLUDE ([OrganizationId], [Data], [Favorites], [Folders], [Attachments], [CreationDate], [RevisionDate]);
|
||||
|
||||
|
@ -8,3 +8,9 @@
|
||||
CONSTRAINT [FK_Folder_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id])
|
||||
);
|
||||
|
||||
|
||||
GO
|
||||
CREATE NONCLUSTERED INDEX [IX_Folder_UserId_IncludeAll]
|
||||
ON [dbo].[Folder]([UserId] ASC)
|
||||
INCLUDE ([Name], [CreationDate], [RevisionDate]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user