1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-20 11:04:31 -05:00

Index adjustments

This commit is contained in:
Kyle Spearrin 2017-01-06 19:14:06 -05:00
parent 6e15b2752b
commit e699e98447
2 changed files with 2 additions and 7 deletions

View File

@ -14,8 +14,8 @@
GO
CREATE NONCLUSTERED INDEX [IX_Cipher_UserId]
ON [dbo].[Cipher]([UserId] ASC);
CREATE NONCLUSTERED INDEX [IX_Cipher_UserId_Type]
ON [dbo].[Cipher]([UserId] ASC, [Type] ASC);
GO

View File

@ -12,11 +12,6 @@
);
GO
CREATE NONCLUSTERED INDEX [IX_Device_UserId]
ON [dbo].[Device]([UserId] ASC);
GO
CREATE UNIQUE NONCLUSTERED INDEX [UX_Device_UserId_Identifier]
ON [dbo].[Device]([UserId] ASC, [Identifier] ASC);