Skip to content

Courses: Add uniqueness index - #2660

Merged
kevinrobinson merged 1 commit into
masterfrom
perf/course-section-index
Oct 2, 2019
Merged

Courses: Add uniqueness index#2660
kevinrobinson merged 1 commit into
masterfrom
perf/course-section-index

Conversation

@kevinrobinson

@kevinrobinson kevinrobinson commented Oct 2, 2019

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

selfie

@kevinrobinson
kevinrobinson merged commit 12d114b into master Oct 2, 2019
@kevinrobinson
kevinrobinson deleted the perf/course-section-index branch October 2, 2019 20:30
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