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

Courses: Add uniqueness index #2660

Merged
merged 1 commit into from Oct 2, 2019
Merged

Courses: Add uniqueness index #2660

merged 1 commit into from Oct 2, 2019

Conversation

kevinrobinson
Copy link
Contributor

@kevinrobinson kevinrobinson commented Oct 2, 2019

This uniqueness is enforced in a validation that is slow and triggers multiple queries across models; add a uniqueness constraint to to this in the DB, maybe we'll remove the validation later.

Split out from #2659.

@kevinrobinson
Copy link
Contributor Author

@kevinrobinson kevinrobinson commented Oct 2, 2019

selfie

@kevinrobinson kevinrobinson merged commit 12d114b into master Oct 2, 2019
1 check was pending
@kevinrobinson kevinrobinson deleted the perf/course-section-index branch Oct 2, 2019
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.

None yet

1 participant