Commit bfff0619 authored by Miloslav Kmet's avatar Miloslav Kmet Committed by Benjamin Eberlei

Fix DBAL-74: Assume char_length to be the length of the string columns instead of data_length.

parent 8892d7c3
...@@ -145,10 +145,12 @@ class OracleSchemaManager extends AbstractSchemaManager ...@@ -145,10 +145,12 @@ class OracleSchemaManager extends AbstractSchemaManager
case 'varchar': case 'varchar':
case 'varchar2': case 'varchar2':
case 'nvarchar2': case 'nvarchar2':
$length = $tableColumn['char_length'];
$fixed = false; $fixed = false;
break; break;
case 'char': case 'char':
case 'nchar': case 'nchar':
$length = $tableColumn['char_length'];
$fixed = true; $fixed = true;
break; break;
case 'date': case 'date':
......
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