Skip to content


DBAL-37: auto increment can not be added to a column, when postgresql is used. #1559

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user tiw:

To add auto increment to on column using the following code in the
migration class:


array('autoincrement' => true));
$settingIdColumn = $systemSettingsTable->getColumn('setting_id');

This works fine when MySQL is used. But when PostGreSQL is used, this
statement doesn't create any SQL statement.

The patch in attachment could perhaps resolve this problem some way.


Comment created by @beberlei:

Fixed in current master


Issue was closed with resolution "Fixed"

@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.0.0-BETA3 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.