Database manager and the increments type in Postgres

What’s the native type in the DB creator? Is it an alias for specificType?

table.specificType("id", "integer GENERATED BY DEFAULT AS IDENTITY PRIMARY KEY");

You can just use the “increments” type

Increments uses serial type for PG which is not recommended anymore.

I see maybe we can tweak it for Postgres that it uses the auto increment fields internally

We’ve done the same with our own “ reference” data type

1 Like

4 posts were split to a new topic: Postgres auto increment keys initial value