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

Indices Lack Scoped Uniqueness Constraints #537

Open
toastercup opened this issue Nov 12, 2017 · 0 comments
Open

Indices Lack Scoped Uniqueness Constraints #537

toastercup opened this issue Nov 12, 2017 · 0 comments

Comments

@toastercup
Copy link
Member

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 or ContentType (unsure how possible all of this is)

See:

@toastercup toastercup changed the title Indexes Lack Scoped Uniqueness Constraints Indices Lack Scoped Uniqueness Constraints Aug 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant