Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-12265

Add unique constraint on DB column GROUPS.NAME

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Database
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Since the drop of support of MySQL, it's possible to bring back the unicity constraint on the index GROUPS.NAME.

      See https://github.com/SonarSource/sonar-enterprise/blob/feature/sb/drop-mysql/server/sonar-server/src/main/java/org/sonar/server/usergroups/ws/GroupWsSupport.java#L134

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              simon.brandhof Simon Brandhof
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: