Commit d466e23c authored by Eloy Lafuente's avatar Eloy Lafuente
Browse files

MDL-28032 database - retrofit signed info for decimal/float (improves diffs detection)

parent 50d32a2b
......@@ -499,7 +499,7 @@ class mysqli_native_moodle_database extends moodle_database {
$info->has_default = is_null($info->default_value) ? false : true;
$info->primary_key = ($rawcolumn->key === 'PRI');
$info->binary = false;
$info->unsigned = null;
$info->unsigned = (stripos($rawcolumn->type, 'unsigned') !== false);
$info->auto_increment= false;
$info->unique = null;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment