# addAutoIncrement does not work on Liquibase 3.5.3 for Postgres

**URL:** <https://forum.liquibase.org/t/addautoincrement-does-not-work-on-liquibase-3-5-3-for-postgres/3967>\
**Category:** Liquibase Development\
**Created:** [December 27, 2017, 1:14am UTC](https://forum.liquibase.org/t/addautoincrement-does-not-work-on-liquibase-3-5-3-for-postgres/3967 "2017-12-27T01:14:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NikolaLucic](https://avatars.discourse-cdn.com/v4/letter/n/9de053/32.png) [@NikolaLucic](https://forum.liquibase.org/u/NikolaLucic)\
**Post date:** [December 27, 2017, 1:14am UTC](https://forum.liquibase.org/t/addautoincrement-does-not-work-on-liquibase-3-5-3-for-postgres/3967/1 "2017-12-27T01:14:00Z")

</div>

Hi guys,

I was using Liquibase 3.4.1 and wanted to use&nbsp;addAutoIncrement element. That didn’t work and after investigating I found the issue related to core library ([https://liquibase.jira.com/browse/CORE-2521).](https://liquibase.jira.com/browse/CORE-2521).) In the issue, itself is said that the bug is fixed with release 3.5.0. I first updated my core dependency to 3.5.3 (latest one) but the error was still there. After downgrading to 3.5.0. my auto increment was finally added to the database.&nbsp;

Therefore, I think that it is possible that fix for CORE-2521 did not end on master branch but it was maybe just committed to 3.5.0 release branch and never moved to master (just throwing ideas, have no idea how are you doing your branching ![]()).&nbsp;

I didn’t have&nbsp;time to check 3.5.1 and 3.5.2 versions…sorry!&nbsp;

Hope that this info is useful.

P.S. Postgres&nbsp;version is 9.6

Cheers!
