Skip to content

Conversation

@CarlSchwan
Copy link
Member

Summary

We disabled them because they are not supported on Oracle DB and it is still the case for OCI < 23. But instead of disabling the support completely for every database types, mark non-nullable boolean column as actually nullable when using Oracle.

This allow to use some slighly lighter schema on normal databases who support natively booleans wheen we don't need to store 3 states true|false|null.

Checklist

We disabled them because they are not supported on Oracle DB and it is
still the case for OCI < 23. But instead of disabling the support
completely for every database types, mark non-nullable boolean column as
actually nullable when using Oracle.

This allow to use some slighly lighter schema on normal databases who
support natively booleans wheen we don't need to store 3 states
true|false|null.

Signed-off-by: Carl Schwan <[email protected]>
@CarlSchwan CarlSchwan added this to the Nextcloud 33 milestone Sep 17, 2025
@CarlSchwan CarlSchwan self-assigned this Sep 17, 2025
@CarlSchwan CarlSchwan requested a review from a team as a code owner September 17, 2025 12:50
@CarlSchwan CarlSchwan added the 3. to review Waiting for reviews label Sep 17, 2025
@CarlSchwan CarlSchwan requested review from Altahrim, come-nc and icewind1991 and removed request for a team September 17, 2025 12:50
Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

I hope this doesn't cause troubles down the street when the target schema is modified

@nickvergessen nickvergessen merged commit 4c64e09 into master Sep 17, 2025
216 of 221 checks passed
@nickvergessen nickvergessen deleted the carl/oracle-nullable-boolean branch September 17, 2025 14:13
@skjnldsv skjnldsv modified the milestones: Nextcloud 33, Nextcloud 32 Oct 2, 2025
@nextcloud-bot nextcloud-bot mentioned this pull request Jan 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews feature: database Database related DB performance 🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants