Commit 4a99e766 authored by zYne's avatar zYne

changed autoinc key to autoincrement

parent 33ed5955
......@@ -141,7 +141,7 @@ class Doctrine_Import_Mysql extends Doctrine_Import
'primary' => (strtolower($val['key']) == 'pri'),
'default' => $val['default'],
'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;
}
......
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