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

Prisoner contact restrictions model schema + field changes #744

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

tomwatkins1994
Copy link
Contributor

@tomwatkins1994 tomwatkins1994 commented Mar 11, 2025

  • Removed internal ID fields
  • Merged PrisonerContactRestriction and ContactGlobalRestriction into ContactRestriction as they had exactly the same fields after the internal ID fields were removed.
  • Made list fields non-nullable as no code was ever attempting to pass null values into them
  • Added @Schema annotations to the models

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