drop constraint in postgresql code example
Example 1: remove contraints command psql
ALTER TABLE table_name DROP CONSTRAINT constraint_name;
Example 2: postgresql drop primary key constraint
alter table public.test1 drop constraint test1_pkey
ALTER TABLE table_name DROP CONSTRAINT constraint_name;
alter table public.test1 drop constraint test1_pkey