Skip to content

Commit

Permalink
Increased recording type chracter limit to 50. Added within upgrade.
Browse files Browse the repository at this point in the history
  • Loading branch information
cebounph committed Jul 24, 2024
1 parent 6e4d82c commit d6a515d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion db/install.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<XMLDB PATH="mod/zoom/db" VERSION="20240708" COMMENT="Zoom module"
<XMLDB PATH="mod/zoom/db" VERSION="20240724" COMMENT="Zoom module"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="../../../lib/xmldb/xmldb.xsd"
>
Expand Down
13 changes: 13 additions & 0 deletions db/upgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit d6a515d

Please sign in to comment.