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

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.2, 3.4.4, 3.5
    • None
    • Database SQL/XMLDB
    • 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

              Unassigned Unassigned
              poltawski Dan Poltawski
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: