I am having this strange issue when trying to upgrade magento 2.4.2p1 to 2.4.3
In bin/magento setup:upgrade
I get:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '543741' for key 'catalog_url_rewrite_product_category.PRIMARY', query was: ALTER TABLE `catalog_url_rewrite_product_category` ADD CONSTRAINT PRIMARY KEY (`url_rewrite_id`)
I found entry in table
catalog_url_rewrite_product_category
entry
543741
and deleted it. But I still can't setup:upgrade
I also tried to empty url.rewrite
table but again no luck
I am stuck. Any help much appreciated!