mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 07:36:14 -05:00
get cipher by org id index
This commit is contained in:
@ -134,6 +134,16 @@ BEGIN
|
||||
END
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (
|
||||
SELECT * FROM sys.indexes WHERE [Name]='IX_Cipher_OrganizationId'
|
||||
AND object_id = OBJECT_ID('[dbo].[Cipher]')
|
||||
)
|
||||
BEGIN
|
||||
CREATE NONCLUSTERED INDEX [IX_Cipher_OrganizationId]
|
||||
ON [dbo].[Cipher]([OrganizationId] ASC)
|
||||
END
|
||||
GO
|
||||
|
||||
IF NOT EXISTS (
|
||||
SELECT * FROM sys.indexes WHERE [Name]='IX_GroupUser_OrganizationUserId'
|
||||
AND object_id = OBJECT_ID('[dbo].[GroupUser]')
|
||||
|
Reference in New Issue
Block a user