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 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

This comment has been minimized.

Copy link
Contributor Author

kevinrobinson commented Oct 2, 2019

selfie

@kevinrobinson kevinrobinson merged commit 12d114b into master Oct 2, 2019
1 check was pending
1 check was pending
continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@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
Projects
None yet
1 participant
You can’t perform that action at this time.