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
case 'varchar':
case 'varchar2':
case 'nvarchar2':
$length = $tableColumn['char_length'];
$fixed = false;
break;
case 'char':
case 'nchar':
$length = $tableColumn['char_length'];
$fixed = true;
break;
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