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

Change all Boolean columns to never be null #1933

Merged
merged 1 commit into from Sep 22, 2020

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Sep 7, 2020

What is this pull request for?

Booleans should have two possible values. Allowing them be be null/nil can lead to weird errors.

Checklist

@mamhoff mamhoff force-pushed the fix-tristate-booleans branch 2 times, most recently from ad40120 to e19ee7c Compare September 7, 2020 12:02
Booleans should have two possible values. This is unproblematic for
every Boolean except for the EssenceBoolean "value", where the default
depends on whatever the user wants.
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Thanks!

@tvdeyen tvdeyen merged commit 84dcf34 into AlchemyCMS:master Sep 22, 2020
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