mirror of
https://github.com/doctrine/orm.git
synced 2026-04-29 09:23:20 +02:00
DDC-2632: Doctrine reverse engineer doesn't honor NOT NULL foreign keys #3302
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 @doctrinebot on GitHub (Aug 24, 2013).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user paoloavezzano:
In this table, the two foreign keys (which I had to downgrade from primary keys because of Doctrine and then added a separate PK named 'Id') called 'Oggetto' and 'Sistema' have been set as NOT NULL.
Converting into Yaml here it is what I get.
Basically it lost in translation the NOT NULL part.
To make it work I had to manually add two "nullable: false" lines as I did below:
Is it a bug or am I missing something?
Regards,
Paolo Avezzano
@Ocramius commented on GitHub (Aug 18, 2017):
Closing as
invalid.Specifically, this bit is not correct: