changed autoinc key to autoincrement
This commit is contained in:
parent
33ed595536
commit
4a99e766a3
@ -141,7 +141,7 @@ class Doctrine_Import_Mysql extends Doctrine_Import
|
|||||||
'primary' => (strtolower($val['key']) == 'pri'),
|
'primary' => (strtolower($val['key']) == 'pri'),
|
||||||
'default' => $val['default'],
|
'default' => $val['default'],
|
||||||
'notnull' => (bool) ($val['null'] != 'YES'),
|
'notnull' => (bool) ($val['null'] != 'YES'),
|
||||||
'autoinc' => (bool) (strpos($val['extra'], 'auto_increment') !== false),
|
'autoincrement' => (bool) (strpos($val['extra'], 'auto_increment') !== false),
|
||||||
);
|
);
|
||||||
$columns[$val['field']] = $description;
|
$columns[$val['field']] = $description;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user