From e0a535057ebd4d2c7f65927503b0b355077cc188 Mon Sep 17 00:00:00 2001 From: Jonathan Champ Date: Wed, 24 Jul 2024 17:25:58 -0400 Subject: [PATCH] db: increase existing recordingtype column size --- db/upgrade.php | 12 ++++++++++++ version.php | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/db/upgrade.php b/db/upgrade.php index 707f5bc9..92642295 100755 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -977,5 +977,17 @@ function xmldb_zoom_upgrade($oldversion) { upgrade_mod_savepoint(true, 2024041900, 'zoom'); } + if ($oldversion < 2024072500) { + // 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, 2024072500, 'zoom'); + } + return true; } diff --git a/version.php b/version.php index f3a0bb44..ee889cb8 100755 --- a/version.php +++ b/version.php @@ -25,7 +25,7 @@ defined('MOODLE_INTERNAL') || die(); $plugin->component = 'mod_zoom'; -$plugin->version = 2024050900; +$plugin->version = 2024072500; $plugin->release = 'v5.2.2'; $plugin->requires = 2019052000; $plugin->maturity = MATURITY_STABLE;