Skip to content

Commit

Permalink
MDL-83153 core: tmpcommit
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed Sep 17, 2024
1 parent ebd4beb commit 931e9a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/db/upgradelib.php
Original file line number Diff line number Diff line change
Expand Up @@ -1853,6 +1853,7 @@ function upgrade_change_binary_column_to_int(

$columns = $DB->get_columns($tablename);
$toconvert = $columns[$fieldname];
print_object($toconvert);
if (str_contains(strtolower($toconvert->type), 'int')) {
// Nothing to do if the field is already an integer-type.
debugging("The '$fieldname' column is already an integer-type column.", DEBUG_DEVELOPER);
Expand Down

0 comments on commit 931e9a4

Please sign in to comment.