mirror of
https://github.com/bitwarden/server
synced 2025-12-19 09:43:25 +00:00
filter nulls from transaction gateway index
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user