Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Error cannot add foreign key constraint on societe_commerciaux table #29706

Merged

Conversation

jyhere
Copy link
Contributor

@jyhere jyhere commented May 17, 2024

Fix the following error when running 19.0.0 > 20.0.0 update sql :
DB_ERROR_CANNOT_ADD_FOREIGN_KEY_CONSTRAINT (Req 219): ALTER TABLE llx_societe_commerciaux ADD CONSTRAINT fk_societe_commerciaux_fk_c_type_contact_code FOREIGN KEY (fk_c_type_contact_code) REFERENCES llx_c_type_contact(code);
Cannot add foreign key constraint

(Tests performed with MySQL 5.7)

@eldy eldy merged commit 90eb4ad into Dolibarr:develop May 21, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants