How can i set the name of the foreign key (edit: not the name of the attribute itself) for the many-to-one relation \"region\" using YAML?
SWA\\
Look at the getCreateConstraintSQL method in the AbstractPlatform class to see how the name of the foreign key is chosen (line 1088).
It is taken directly from the constraint name. Influencing constraint name will influence the foreign key name.
As a workaround you could drop the constraint and re-create it with a new name in a doctrine migration.