Fix to notice.
This commit is contained in:
parent
eb9842dcec
commit
9679e5531b
@ -248,7 +248,7 @@ class Doctrine_Import_Schema
|
|||||||
$colDesc['type'] = isset($field['type']) ? (string) $field['type']:null;
|
$colDesc['type'] = isset($field['type']) ? (string) $field['type']:null;
|
||||||
$colDesc['ptype'] = isset($field['ptype']) ? (string) $field['ptype']:(string) $colDesc['type'];
|
$colDesc['ptype'] = isset($field['ptype']) ? (string) $field['ptype']:(string) $colDesc['type'];
|
||||||
$colDesc['length'] = isset($field['length']) ? (int) $field['length']:null;
|
$colDesc['length'] = isset($field['length']) ? (int) $field['length']:null;
|
||||||
$colDesc['length'] = isset($field['size']) ? (int) $field['size']:$field['length'];
|
$colDesc['length'] = isset($field['size']) ? (int) $field['size']:$colDesc['length'];
|
||||||
$colDesc['fixed'] = isset($field['fixed']) ? (int) $field['fixed']:null;
|
$colDesc['fixed'] = isset($field['fixed']) ? (int) $field['fixed']:null;
|
||||||
$colDesc['unsigned'] = isset($field['unsigned']) ? (bool) $field['unsigned']:null;
|
$colDesc['unsigned'] = isset($field['unsigned']) ? (bool) $field['unsigned']:null;
|
||||||
$colDesc['primary'] = isset($field['primary']) ? (bool) (isset($field['primary']) && $field['primary']):null;
|
$colDesc['primary'] = isset($field['primary']) ? (bool) (isset($field['primary']) && $field['primary']):null;
|
||||||
|
Loading…
Reference in New Issue
Block a user