Skip to content

add @ORM\Table(name="fos_user") to user entity #634

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

Merged
merged 1 commit into from
Oct 30, 2018
Merged

add @ORM\Table(name="fos_user") to user entity #634

merged 1 commit into from
Oct 30, 2018

Conversation

NMathar
Copy link
Contributor

@NMathar NMathar commented Oct 28, 2018

this is to not use the default protected word User for an sql table https://symfony.com/doc/master/bundles/FOSUserBundle/index.html#a-doctrine-orm-user-class

@dunglas dunglas merged commit 203d7ac into api-platform:2.3 Oct 30, 2018
@dunglas
Copy link
Member

dunglas commented Oct 30, 2018

Good catch, thanks!

@NMathar NMathar deleted the patch-1 branch October 30, 2018 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants