MySQL Найти DB Contarint
select *
from information_schema.key_column_usage
where constraint_name='[CONSTRAINT_NAME]'
Copperfield
select *
from information_schema.key_column_usage
where constraint_name='[CONSTRAINT_NAME]'