I'am writing a migration in Doctrine and i have to add a autoincrement to a column, but i don't find any information to do so via the changeColumn-method.
+1
A:
$options = array('auto_increment' => true);
$this->changeColumn('table_name', 'column_name', 'integer', $options);
DuoSRX
2010-04-02 13:01:27