It was not that hard, as it is a common problem on newer mysql versions.
By the way it should be 0, not null, as the field expects an integer, and null is not an integer.

Thanks for the invitation .