Skip to content

Commit

Permalink
Modified index
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfoster76 committed Oct 2, 2018
1 parent 4dff716 commit 2aa0664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SFA.DAS.Commitments.Database/Tables/Commitment.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ GO
-- this was recommented by azure and has been added directly to prod
CREATE NONCLUSTERED INDEX [IX_Commitment_ProviderId_CommitmentStatus]
ON [dbo].[Commitment] ([ProviderId], [CommitmentStatus])
INCLUDE ([CreatedOn], [EditStatus], [EmployerAccountId], [LastAction], [LastUpdatedByEmployerEmail], [LastUpdatedByEmployerName], [LastUpdatedByProviderEmail], [LastUpdatedByProviderName], [LegalEntityAddress], [LegalEntityId], [LegalEntityName], [LegalEntityOrganisationType], [ProviderName], [Reference], [TransferApprovalActionedByEmployerEmail], [TransferApprovalActionedByEmployerName], [TransferApprovalActionedOn], [TransferApprovalStatus], [TransferSenderId], [TransferSenderName]) WITH (ONLINE = ON)
INCLUDE ([AccountLegalEntityPublicHashedId], [CreatedOn], [EditStatus], [EmployerAccountId], [LastAction], [LastUpdatedByEmployerEmail], [LastUpdatedByEmployerName], [LastUpdatedByProviderEmail], [LastUpdatedByProviderName], [LegalEntityAddress], [LegalEntityId], [LegalEntityName], [LegalEntityOrganisationType], [ProviderName], [Reference], [TransferApprovalActionedByEmployerEmail], [TransferApprovalActionedByEmployerName], [TransferApprovalActionedOn], [TransferApprovalStatus], [TransferSenderId], [TransferSenderName]) WITH (ONLINE = ON)
GO

-- but we have 2 natural id's, providerid and EmployerAccountId
Expand Down

0 comments on commit 2aa0664

Please sign in to comment.