diff --git a/lib/Doctrine/Import/Builder.php b/lib/Doctrine/Import/Builder.php index 41236a74c..e69de7fc8 100644 --- a/lib/Doctrine/Import/Builder.php +++ b/lib/Doctrine/Import/Builder.php @@ -110,6 +110,16 @@ class Doctrine_Import_Builder { if($column['notnull']) { $a[] = '\'notnull\' => true'; } + if($column['primary']) { + $a[] = '\'primary\' => true'; + } + if($column['autoinc']) { + $a[] = '\'autoincrement\' => true'; + } + if($column['unique']) { + $a[] = '\'unique\' => true'; + } + if( ! empty($a)) $columns[$i] .= ', ' . 'array(' . implode(', ', $a) . ')';