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");
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