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

Install and upgrade schema have diverged

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.4.1
    • None
    • None
    • 2.2.3 (2017101011)
    • 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

            jfederico Jesus Federico
            bushido Mark Nielsen
            Jesus Federico
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: