Repository navigation
Use integer for availability instead of bool - #18964
Conversation
|
A new inspection was created. |
|
A DB schema change like that is critical. Needs careful resting on all supported databases |
|
@karlitschek The availability stuff is currently only in master, not 8.1. Only dev environments will be affected, and MariaDB/MySQL works just fine with the migration. |
|
Yes. And master will become 8.2 soon. So my statement is fully valid. |
|
Considering that the field is not in 8.1 and boolean is proven to create problems I'm in favour of this. We're using integers everywhere as booleans do not work properly. |
|
👍 "normal" installations will only get a new column like before |
|
@karlitschek can you revisit your statement in the light of the additional information ? The boolean field was added on master at some point (not 8.1) and we discovered on some envs (like mine) that the boolean field doesn't work properly. |
|
but additional testing doesn't hurt, in case some people had the crazy idea of running pre-alpha code on their env and would have that boolean field already... |
👍 from my side |
e26f4e0 to
51dbd55
Compare
|
let's discuss tomorrow. sorry for being careful but this kind of changes broke in the past. |
|
rebased ... |
|
ok. discussed this with @DeepDiver1975 This is fine with me because this is a new field in master and not a type change. |
|
@DeepDiver1975 how come this PR is again out of date ? Does it mean we have to rebase PRs and merge directly after that ? |
I was fighting some hickups of jenkins last night ... we need to rebase ... I'll take care - THX |
51dbd55 to
5ca690e
Compare
Use integer for availability instead of bool
Fixes #18420
Seems like our codebase isn't ready for booleans yet...
Please review @icewind1991 @PVince81 @LukasReschke @MorrisJobke @DeepDiver1975