Skip to main content
May 25, 20261.11.0v1.11.0RSS

v1.11.0 — [Database] Add 16 missing foreign-key constraints

Release Notes

<!-- db-audit:kind=missing_foreign_key -->

The database audit found 16 missing foreign-key constraints that need to be reconciled between the code and the database.

  • Relationship between accounts and users is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between ai_conversations and permission_profiles is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between ai_messages and ai_conversations is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between ai_user_prompts and ai_prompts is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between api_keys and projects is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between api_keys and users is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between batch_jobs and organizations is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between consent_records and users is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between notifications and organizations is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between org_invites and organizations is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between org_members and organizations is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between org_members and users is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between pending_payments and organizations is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between sessions and users is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between webhook_deliveries and webhook_endpoints is in your code but not enforced by the database — rows can refer to missing parents.
  • Relationship between webhook_deliveries and projects is in your code but not enforced by the database — rows can refer to missing parents.