Commit 602cb017 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#198234 by bjaspan: fix improper type maps for numeric and char values in schema API

parent e08abdd2
......@@ -225,7 +225,7 @@ function db_type_map() {
'float:big' => 'DOUBLE',
'float:normal' => 'FLOAT',
'numeric:normal' => 'NUMERIC',
'numeric:normal' => 'DECIMAL',
'blob:big' => 'LONGBLOB',
'blob:normal' => 'BLOB',
......
......@@ -444,7 +444,7 @@ function db_type_map() {
// database types back into schema types.
$map = array(
'varchar:normal' => 'varchar',
'char:normal' => 'char',
'char:normal' => 'character',
'text:tiny' => 'text',
'text:small' => 'text',
......
Markdown is supported
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