postgresqlpgadmin-4unique-key

how to add unique key constraint on column in table in ERD tool in pgAdmin4


I am creating a schema diagram using the ERD tool and want to add a unique key constraint in my column but it seems there is only not null and primary key option is there any idea how to add it?enter image description here

how to add unique key to the column pan_number and adhare_number in this diagram?


Solution

  • pgAdmin dev here. Currently, it is not available. A ticket is raised - https://redmine.postgresql.org/issues/7092 and will be available in future release.

    Update: This will be available in pgAdmin 6.8