Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation : fix table prefix with STI #1305

Merged
merged 1 commit into from Feb 16, 2015
Merged

Documentation : fix table prefix with STI #1305

merged 1 commit into from Feb 16, 2015

Conversation

ghost
Copy link

@ghost ghost commented Feb 16, 2015

If an Entity use STI, it gets its table name from the parent class. In this case, we need to check that the class is the root class of the hierarchy when adding prefix, otherwise children class are prefixed twice.

If an Entity use STI, it gets its table name from the parent class. In this case, we need to check that the class is the root class of the hierarchy when adding prefix, otherwise children class are prefixed twice.
@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DDC-3570

We use Jira to track the state of pull requests and the versions they got
included in.

@Ocramius Ocramius self-assigned this Feb 16, 2015
Ocramius added a commit that referenced this pull request Feb 16, 2015
Documentation : fix table prefix with STI
@Ocramius Ocramius merged commit 38c819a into doctrine:master Feb 16, 2015
@Ocramius
Copy link
Member

@guillaumerobin thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants