postgresql ·

Drop a constraint

ALTER TABLE <table_name> DROP CONSTRAINT already_existing_constraint;
ALTER TABLE <table_name> DROP CONSTRAINT IF EXISTS already_existing_constraint;