mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05: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