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

Tidy-up db schema #123

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

Tidy-up db schema #123

wants to merge 4 commits into from

Conversation

uatuko
Copy link
Owner

@uatuko uatuko commented Jan 25, 2025

No description provided.

Having fkey constraints will require additional indexes to ensure
deletes aren't slow, which feels a bit unnecessary. Moving the checks to
app layer will give more flexibility (e.g. we can check if relations are
valid when the principals are not "active").
Copy link

codecov bot commented Jan 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.49%. Comparing base (258e8fc) to head (f6ed13e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
- Coverage   95.51%   95.49%   -0.03%     
==========================================
  Files          19       19              
  Lines        1249     1243       -6     
  Branches      141      143       +2     
==========================================
- Hits         1193     1187       -6     
  Misses         38       38              
  Partials       18       18              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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