Merge pull request #3402 from umpirsky/fix/duplicated-oauth-accounts

Removed oauthAccounts since it is already defined in user bundle
This commit is contained in:
Paweł Jędrzejewski 2015-11-20 10:51:47 +01:00
commit 81f017f5a5

View file

@ -17,11 +17,6 @@
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<mapped-superclass name="Sylius\Component\Core\Model\User" table="sylius_user">
<one-to-many field="oauthAccounts" target-entity="Sylius\Component\Core\Model\UserOAuthInterface" mapped-by="user">
<cascade>
<cascade-all />
</cascade>
</one-to-many>
<many-to-many field="authorizationRoles" target-entity="Sylius\Component\Rbac\Model\RoleInterface">
<join-table name="sylius_user_role">