-
-
Notifications
You must be signed in to change notification settings - Fork 824
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
Foreign key for civicrm_custom_field.option_group_id #12706
Conversation
(Standard links)
|
xml/schema/Core/CustomField.xml
Outdated
<name>option_group_id</name> | ||
<table>civicrm_option_group</table> | ||
<key>id</key> | ||
<add>5.3</add> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5.6
Makes sense to me. If tests pass I think we're good to go. |
@colemanw do we need to add upgrade code for this? or is this something done automatically by running updateindices after upgrade? |
@colemanw I have updated the version to 5.6. Can you please review now? |
hopefully if people run update indices it will work - be good if you cold test that though |
I can't seem to make it work. My steps:
|
@colemanw indexes are added by running the api System.updateindices I think |
(we don't 'impose' index changes as they can make the upgrade process painful so we have a job - it was advertised via a system check but someone turned it off as some old sites had some issues) |
Ok I typed |
oh - well this will update it for new installs so I'm Ok with us merging it - at some point some more work needs to be done on the updateindexes. We were working on it but then the check was removed & momentum died. Perhaps the UK sprint though |
Overview
This PR added Foreign key for civicrm_custom_field.option_group_id