mirror of
https://github.com/bitwarden/server.git
synced 2024-11-21 12:05:42 +01:00
filter nulls from transaction gateway index
This commit is contained in:
parent
ac41feba81
commit
bae1884630
@ -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
|
||||
|
@ -19,8 +19,8 @@ BEGIN
|
||||
);
|
||||
|
||||
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;
|
||||
|
||||
CREATE NONCLUSTERED INDEX [IX_Transaction_UserId_OrganizationId_CreationDate]
|
||||
ON [dbo].[Transaction]([UserId] ASC, [OrganizationId] ASC, [CreationDate] ASC);
|
||||
|
Loading…
Reference in New Issue
Block a user