mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
nullable false not working on xml many-to-one #6481
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @r-capilla-zeus on GitHub (Jun 5, 2020).
Hi, when I try to set the nullable attribute in a many-to-one relationship with xml nothing happens. With update-schema it says "nothing to update".
<many-to-one field="calendarType" target-entity="App\ScheduleContext\Domain\Model\CalendarType"> <join-column name="calendar_type_id" referenced-column-name="id" nullable="false"/> </many-to-one>