Add unique index on namespace_id, path for projects table

There are at least a few duplicate project records causing this error https://gitlab.com/gitlab-org/gitlab-ce/issues/35276

Adding a unique index will prevent this error, and hopefully will reveal the source of duplication.

Edited Jun 18, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading