Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-8155

Add constraints to prevent relationships between an entity and itself

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Schema Change
    • Labels:
      None

      Description

      It is possible, or was possible in the past, to add relationships between an entity and itself (MBS-8154; edit #24119669 and edit #26418520). A database constraint on each l_X_Y table with X == Y should make sure that entity0 and entity1 are different.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                chirlu Ulrich Klauer
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package