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

Install and upgrade schema have diverged

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 3.4.1
    • None
    • 2.2.3 (2017101011)
    • MOODLE_34_STABLE

      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!

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

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.