orm
orm copied to clipboard
feat: allow STI child entities to have non-nullable relationships
Currently, child entities cannot have relationships marked as non-nullable because SchemaTool generates the relationship join column as NOT NULL.
It has to be marked as nullable, the same as is done for non-nullable columns that are present only in child entity.
Do you mean
Currently, child entities cannot have relationships marked as nullable…?
as non-nullable as stated in the title.
https://github.com/doctrine/orm/pull/10155/files#diff-fe519274c2d9ecab59f442c05f190586e7320f74719505288502bdb0ca56bc9aR15