1
0
mirror of synced 2025-01-18 06:21:40 +03:00

changed autoinc key to autoincrement

This commit is contained in:
zYne 2007-11-25 20:22:50 +00:00
parent 33ed595536
commit 4a99e766a3

View File

@ -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;
}