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

Ensure that civicrm_dashboard has a foreign key to civicrm_domain #15119

Merged

Conversation

seamuslee001
Copy link
Contributor

Overview

After checking out production db i noticed we only had an index no actual foreign key between civicrm_dashboard and civicrm_domain. This runs an upgrade to make sure there is the FK

Before

Maybe index maybe FK

After

FK instantiated

ping @christianwach @eileenmcnaughton

@civibot civibot bot added the master label Aug 23, 2019
@civibot
Copy link

civibot bot commented Aug 23, 2019

(Standard links)

@seamuslee001 seamuslee001 force-pushed the fix_dashboard_domain_fk branch 2 times, most recently from 9e9b81d to 837a0ce Compare August 23, 2019 08:39
@@ -35,6 +35,7 @@
<table>civicrm_domain</table>
<key>id</key>
<add>3.1</add>
<onDelete>CASCADE</onDelete>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well the column def is a NOT NULL column so its the only one that seemed to make sense to me

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@eileenmcnaughton
Copy link
Contributor

test fail relates

@seamuslee001 seamuslee001 force-pushed the fix_dashboard_domain_fk branch from 837a0ce to 1494e98 Compare August 23, 2019 21:33
@eileenmcnaughton eileenmcnaughton merged commit 25834fa into civicrm:master Aug 30, 2019
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.

2 participants