Skip to content

Commit

Permalink
db: increase existing recordingtype column size
Browse files Browse the repository at this point in the history
  • Loading branch information
jrchamp committed Jul 24, 2024
1 parent 2bfa83a commit e0a5350
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e0a5350

Please sign in to comment.