Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-redo #4592 #4600

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

re-redo #4592 #4600

wants to merge 2 commits into from

Conversation

collinbarrett
Copy link
Owner

@collinbarrett collinbarrett commented Oct 13, 2024

re-redo #4592

sample error from original #4592

Cannot insert duplicate key row in object 'dbo.FilterListViewUrl' with unique index 'IX_FilterListViewUrl_FilterListId_SegmentNumber_Primariness'. The duplicate key value is (2673, 1, 2).
The statement has been terminated. 

the current ef core seeding method can't handle new FilterListViewUrl Ids for the same FilterListId/Primariness combo. for now, we need to revise these FilterListViewUrl changes to use the same FilterListViewUrl Ids for each pre-existing FilterListId/Primariness combo. sorry, this is a pain. I'll try to do it eventually if I have time, but feel free to tackle it @celenityy if you beat me to it.

@collinbarrett collinbarrett self-assigned this Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant