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

Standardise the length of component fields in the database to a consistent length

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.2, 3.4.4, 3.5
    • Fix Version/s: None
    • Component/s: Database SQL/XMLDB
    • Labels:
    • Affected Branches:
      MOODLE_32_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE

      Description

      It looks like a length of 100 is the standard choice..

      git grep component lib/db/install.xml | grep '<FIELD' | awk '{print $5}' | sort | uniq -c
         1 LENGTH="10"
        14 LENGTH="100"
         1 LENGTH="166"
         3 LENGTH="200"
         6 LENGTH="255"
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              poltawski Dan Poltawski
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: