Переименовать ограничение Postgresql
ALTER INDEX commerce_contractor_pkey RENAME TO whatever_new_name
Crazy Cheetah
ALTER INDEX commerce_contractor_pkey RENAME TO whatever_new_name