drop constraint table postgre code example
Example 1: postgresql drop primary key constraint
alter table public.test1 drop constraint test1_pkey
Example 2: postgresql drop table
DROP TABLE name;
alter table public.test1 drop constraint test1_pkey
DROP TABLE name;