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

feat: add unique constraint to coursestaffrole #293

Merged

Conversation

varshamenon4
Copy link
Member

@varshamenon4 varshamenon4 commented Jul 24, 2024

JIRA: COSMO-234

Description: This PR adds the uniqueness constraint to the CourseStaffRole model so that there cannot be duplicates.

Merge checklist:

  • All reviewers approved
  • CI build is green
  • Changelog record added
  • Documentation updated (not only docstrings)
  • Commits are squashed

Post merge:

  • Delete working branch (if not needed anymore)

Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  edx_exams/apps/core
  models.py
  edx_exams/apps/core/migrations
  0027_coursestaffrole_unique_course_staff_role.py
Project Total  

This report was generated by python-coverage-comment-action

@varshamenon4 varshamenon4 merged commit cf036d3 into main Jul 24, 2024
5 checks passed
@varshamenon4 varshamenon4 deleted the varshamenon4/feat-course-staff-role-unique-constraint branch July 24, 2024 18:38
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.

2 participants