I am using a third party extension. I noticed that a constraint is missing by comparing with a fresh installation. This causes a bug when deleting an item of the extension.
Is there a command which is able to install missing constraints?
I've tried this:
delete entry of module from table
php -f bin/magento setup:db-schema:upgrade php -f bin/magento setup:db-data:upgrade php -f bin/magento setup:upgrade
but none of these commands re-installed the missing constraint.
The only way I've found is deleting the table and the extension entry from the table
setup_module and executing
php bin/magento setup:upgrade, but this is too radical since I have to re-add the data