Skip to content

Conversation

@jakedoublev
Copy link
Contributor

@jakedoublev jakedoublev commented Jan 23, 2024

Addresses: #81

Adds helper functions for the db layer across tables for:

  1. unique constraint violations
  2. not null violations
  3. foreign key violations
  4. restrict violations (not used yet but may be if we prevent DELETE on certain tables and go to active/inactive state)
  5. not found errors

@jakedoublev jakedoublev marked this pull request as ready for review January 23, 2024 22:43
@jrschumacher
Copy link
Member

Could you also add constraint checks for:

  • insert or update FK constraint
  • deleting or updating FK constraint

@jakedoublev jakedoublev marked this pull request as draft January 23, 2024 23:33
@jakedoublev jakedoublev marked this pull request as ready for review January 24, 2024 23:10
@jakedoublev jakedoublev merged commit 77438b6 into policy-config-changes Jan 25, 2024
@jakedoublev jakedoublev deleted the refactor/constraint-violations branch January 25, 2024 00:39
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.

3 participants