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

dev/core#2486 - Add foreign key on civicrm_contribution_product.product_id #20553

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

monishdeb
Copy link
Member

Overview

Add foreign key on civicrm_contribution_product.product_id

Before

No foreign key on product ID

After

Added foreign key on civicrm_contribution_product.product_id (on delete null)

Technical Details

Followup PR of #20505

Comments

ping @colemanw @eileenmcnaughton @seamuslee001

(should we target this patch after 5.39-rc cut??)

@civibot
Copy link

civibot bot commented Jun 8, 2021

(Standard links)

@colemanw
Copy link
Member

colemanw commented Jun 8, 2021

Jenkins says:

mysql:
ERROR 1215 (HY000) at line 3829: Cannot add foreign key constraint

@monishdeb monishdeb force-pushed the add_product_id_fk branch 2 times, most recently from 4271b83 to fd54d5e Compare June 9, 2021 07:51
@seamuslee001
Copy link
Contributor

@monishdeb can you rebase this please?

@monishdeb monishdeb force-pushed the add_product_id_fk branch from fd54d5e to 8714d4b Compare June 17, 2021 10:58
@monishdeb
Copy link
Member Author

Thanks @seamuslee001 for notifying the conflict. Rebased now.

@colemanw
Copy link
Member

This looks good. Thanks @monishdeb

@colemanw colemanw merged commit ffd6744 into civicrm:master Jun 17, 2021
colemanw added a commit to colemanw/civicrm-core that referenced this pull request Jun 17, 2021
eileenmcnaughton pushed a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jul 4, 2021
@seamuslee001 seamuslee001 deleted the add_product_id_fk branch July 8, 2021 00:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants