Skip to content

Add project_authorizations.is_unique column and schedule partial index

What does this MR do and why?

First MR in a series to restore a previously deleted unique index on project_authorizations (#418205).

  • adds a nullable column project_authorizations.is_unique.
  • schedules a partial unique index CREATE UNIQUE INDEX CONCURRENTLY ON project_authorizations (user_id, project_id) WHERE is_unique;

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #418205

Edited by Dominic Bauer

Merge request reports