开发者

How can i add a autoincrement to a column with a doctrinemigration?

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.


$options = array('auto_increment' => true);
$this->changeColumn('table_name', 'column_name', 'integer', $options);


$options = array('auto_increment' => true);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜