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

Review all the CHAR/TEXT fields in Moodle declared as NOT NULL and analyse if they should be nullable

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.8, 1.9
    • 1.8, 1.9
    • Database SQL/XMLDB
    • None
    • Any
    • Any
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE

    Description

      Practically all the CHAR/TEXT fields inside Moodle are declared as NOT NULL.

      It's needed to analyse their logic to know if we can transform them to NULL fields and/or it such horrible default '' clause can be safely erased.

      More info about this task can be found here: http://docs.moodle.org/en/XMLDB_Problems#NOT_NULL_fields_using_a_DEFAULT_.27.27_clause

      This bug will contain a list of subtasks, each one pointing to one exact table/field to analyse/change

      Attachments

        Activity

          People

            stronk7 Eloy Lafuente (stronk7)
            stronk7 Eloy Lafuente (stronk7)
            Nobody Nobody
            Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              31/Mar/07