mirror of
https://github.com/bitwarden/server
synced 2025-12-23 11:43:23 +00:00
index tuning script
This commit is contained in:
@@ -15,3 +15,9 @@
|
||||
CONSTRAINT [FK_OrganizationUser_User] FOREIGN KEY ([UserId]) REFERENCES [dbo].[User] ([Id])
|
||||
);
|
||||
|
||||
|
||||
GO
|
||||
CREATE NONCLUSTERED INDEX [IX_OrganizationUser_UserIdOrganizationIdStatus]
|
||||
ON [dbo].[OrganizationUser]([UserId] ASC, [OrganizationId] ASC, [Status] ASC)
|
||||
INCLUDE ([AccessAll]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user