Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17253

role.name and role.shortname columns should have unique indexes

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Roles / Access
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      There is PHP code that tries to enforce uniqueness, but it would be much more reliable to get the database to enforce it for us.

      Attachments

        Activity

          People

            timhunt Tim Hunt
            timhunt Tim Hunt
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              24/Nov/10