Auto-increment with PostgreSQL


I’d like to know how to set a column in a ERM to auto-increment using PostgreSQL. I didn’t find any proper thing.

Thanks a lot.


Hi Eraser,

Thanks for your post. By default (“native” in ID Generator) it’s auto-increment already.

Best regards,
Lilian Wong


And with the SqLite? ID Generator as “native” does not make the field as autoincrement on the SqLite database.

The ID Generator “native” works in SQLite and Postgres. Did you try to “reload” after saving a record?