mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #993] [CLOSED] Update JoinColumn.php #9011
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?
📋 Pull Request Information
Original PR: https://github.com/doctrine/orm/pull/993
Author: @KamilKopaczyk
Created: 3/28/2014
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
786678cUpdate JoinColumn.php📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
lib/Doctrine/ORM/Mapping/JoinColumn.php(+1 -1)📄 Description
If $referencedColumnName = 'id' by default, it doesn't make sense to make checks like:
(ClassMetaDataInfo file)
Considering you map your column
You'll get JoinColumn with 'id' value, which doesn't let doctrine use naming strategies for referenced column names
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.