[PR #7894] Fix boolean properties default value when generating entities. #10697

Open
opened 2026-01-22 16:08:23 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/7894

State: closed
Merged: Yes


Generating entities by a generate entity tool, entity properties are set "1" that default value, despite field type is boolean.
So, if a field type is boolean and a default value is "1", replace to "true".

**Original Pull Request:** https://github.com/doctrine/orm/pull/7894 **State:** closed **Merged:** Yes --- Generating entities by a generate entity tool, entity properties are set "1" that default value, despite field type is boolean. So, if a field type is boolean and a default value is "1", replace to "true".
admin added the pull-request label 2026-01-22 16:08:23 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#10697