diff --git a/db/install.xml b/db/install.xml index 8832e27d..163f6314 100755 --- a/db/install.xml +++ b/db/install.xml @@ -1,5 +1,5 @@ - diff --git a/db/upgrade.php b/db/upgrade.php index 707f5bc9..7312b7e4 100755 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -977,5 +977,18 @@ function xmldb_zoom_upgrade($oldversion) { upgrade_mod_savepoint(true, 2024041900, 'zoom'); } + if ($oldversion < XXXXXXXXXX) { + + // Changing precision of field recordingtype on table zoom_meeting_recordings to (50). + $table = new xmldb_table('zoom_meeting_recordings'); + $field = new xmldb_field('recordingtype', XMLDB_TYPE_CHAR, '50', null, XMLDB_NOTNULL, null, null, 'passcode'); + + // Launch change of precision for field recordingtype. + $dbman->change_field_precision($table, $field); + + // Zoom savepoint reached. + upgrade_mod_savepoint(true, XXXXXXXXXX, 'zoom'); + } + return true; }