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 default value of civicrm_option_group.is_locked in DB schema #12861

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

The 5.5 update set civicrm_option_group.is_locked & is_reserved to have a db defaults but the upgrade script was incorrect on is_locked

Before

Newly created option groups (e.g for custom fields) are set to is_locked

After

Newly created option groups (e.g for custom fields) are not set to is_locked

Technical Details

The default for new instals was correct

Comments

@seamuslee001

@mattwire
Copy link
Contributor

Confirmed this is the correct fix. It matches what the SQL describes. Good to merge

@colemanw
Copy link
Member

Shouldn't this be against 5.6?

@eileenmcnaughton eileenmcnaughton changed the base branch from master to 5.5 September 23, 2018 22:29
@eileenmcnaughton eileenmcnaughton changed the base branch from 5.5 to 5.6 September 23, 2018 22:30
@eileenmcnaughton
Copy link
Contributor Author

@colemanw fixed + #12862 opened

@colemanw colemanw merged commit 54899c9 into civicrm:5.6 Sep 24, 2018
@eileenmcnaughton eileenmcnaughton deleted the locked branch September 24, 2018 20:36
@totten totten changed the title Fix typo in 5.5 upgrade script Fix default value of civicrm_option_group.is_locked in DB schema Sep 25, 2018
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