1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

filter nulls from transaction gateway index

This commit is contained in:
Kyle Spearrin
2019-03-08 16:57:14 -05:00
parent ac41feba81
commit bae1884630
2 changed files with 4 additions and 3 deletions

View File

@ -19,7 +19,8 @@
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_Transaction_Gateway_GatewayId]
ON [dbo].[Transaction]([Gateway] ASC, [GatewayId] ASC);
ON [dbo].[Transaction]([Gateway] ASC, [GatewayId] ASC)
WHERE [Gateway] IS NOT NULL AND [GatewayId] IS NOT NULL;
GO