Check out example codes for "remove contraints command psql". It will help you in understanding the concepts better.

Code Example 1

ALTER TABLE table_name DROP CONSTRAINT constraint_name;

Learn ReactJs, React Native from akashmittal.com