in magento2 add unique key constaint on column which has already foreign key adding for vendor code
i trying to add unique key constraint to company_id column in company_credit table but i facing issue like duplicate key Syntax error or access violation: 1061 Duplicate key name ‘COMPANY_CREDIT_COMPANY_ID’, query was: ALTER TABLE company_credit ADD CONSTRAINT COMPANY_CREDIT_COMPANY_ID UNIQUE KEY… Read More »in magento2 add unique key constaint on column which has already foreign key adding for vendor code