You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BooleanField in firebird versions minors to 3 which doesn't suport boolean data type, Its was emulated with a smallint field with a check constraint to alow values just 1 or 0 or NULL if field is NullBooleanField [1]
Since firebird 3 wih bool data type support the contraint is no requiered any more, therefore it is not necessary set the check contraint at table level.
[1] NullBooleanFields was marked as deprecated sice django 4
PS:
In firerbird 3.0.x there are a bug removing a field with check contraint. At least django generated boolean fields with check contraint fails with the message "no current record for fetch operation At trigger ..."
The text was updated successfully, but these errors were encountered:
BooleanField in firebird versions minors to 3 which doesn't suport boolean data type, Its was emulated with a smallint field with a check constraint to alow values just 1 or 0 or NULL if field is NullBooleanField [1]
Since firebird 3 wih bool data type support the contraint is no requiered any more, therefore it is not necessary set the check contraint at table level.
[1] NullBooleanFields was marked as deprecated sice django 4
PS:
In firerbird 3.0.x there are a bug removing a field with check contraint. At least django generated boolean fields with check contraint fails with the message "no current record for fetch operation At trigger ..."
The text was updated successfully, but these errors were encountered: