I´m a new user (noob) of Dbeaver (community edition) and PostgreSQL, and I was having big trouble in defining an auto-incremented Primary Key in any table, so I would like to know how to be able to define an auto-incremented primary key using DBeaver, answers must no include these trials:
- Defining the primary key as serial (DBeaver will change it automatically to int2-4-8 even when defining the Primary Key as not null).
- Defining a new sequence in DBeaver (the best way to define a new sequence is throw pgAdmin4 and you may not be that successful to assign it to the table's Primary Key if your a noob just like I´m either in DBeaver or in pgAdmin4).