Skip to content

Commit

Permalink
Merge pull request #410 from SkillsFundingAgency/DPP-1660_Index_Recom…
Browse files Browse the repository at this point in the history
…mendation

Modified index
  • Loading branch information
m-nagashree authored Oct 3, 2018
2 parents 4dff716 + 2aa0664 commit f7ed7f4
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 f7ed7f4

Please sign in to comment.