Doctrine 1.2. :
$this->hasColumn('id', 'int', null, array(
'primary' => true,
'autoincrement' => true
));
:
$this->hasColumn('id', 'integer', 4, array(
'type' => 'integer',
'length' => 4,
'unsigned' => true,
'primary' => true,
'autoincrement' => true,
));
, , , .