Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7302

Install and upgrade schema have diverged

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: None
    • Labels:
      None
    • Plugin Version:
      2.2.3 (2017101011)
    • Affected Branches:
      MOODLE_34_STABLE

      Description

      Upgraded the plugin recently and ran admin/cli/check_database_schema.php and it spit out the following errors:

      bigbluebuttonbn
        * column 'type' length is 2, expected at least 10 (I)
        * column 'meetingid' length is 256, expected 255 (C)
        * column 'recordings_imported' has default '0', expected '1' (I)
        * column 'recordings_preview' has default '0', expected '1' (I)
      

      The upgrade path that adds these fields do no match the install.xml. Please add additional upgrade steps to get the schema back in sync.

      Do as you like, but would recommend using code generated from XMLDB Editor in Moodle as it produces upgrade code that is compatible with the install.xml file. Cheers!

        Attachments

          Activity

            People

            Assignee:
            jfederico Jesus Federico
            Reporter:
            bushido Mark Nielsen
            Participants:
            Component watchers:
            Jesus Federico
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: