Hello! How to create primary key integer without increment=True in Postgres?
When you set primary key column type in [integer, bigint], it is automatic transform to autoincrement types serial and bigserial.
My sadness solution is to create smallint column type and after change type of column with alter DDL to old type integer or bigint. Any idea for standart solution to situations like this? Thanks!
Hello! How to create primary key integer without increment=True in Postgres? When you set primary key column type in [integer, bigint], it is automatic transform to autoincrement types serial and bigserial. My sadness solution is to create smallint column type and after change type of column with alter DDL to old type integer or bigint. Any idea for standart solution to situations like this? Thanks!