Open
Description
To ensure data integrity and performance, we need to:
- Ensure all relevant indexes are also unique
- Set up partial indexes so
deleted_at
records are not considered for uniqueness - Set up partial indexes so records are scoped to their
Tenant
/Organization
orContentType
(unsure how possible all of this is)
See: