Skip to content

Commit 5a4445c

Browse files
committed
Removed JoinTable attributes from non-owning side
1 parent 02b1a74 commit 5a4445c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/Entity/UserGroup.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ class UserGroup implements EntityInterface, Stringable
110110
targetEntity: User::class,
111111
mappedBy: 'userGroups',
112112
)]
113-
#[ORM\JoinTable(
114-
name: 'user_has_user_group',
115-
)]
116113
#[Groups([
117114
'UserGroup.users',
118115
])]
@@ -125,9 +122,6 @@ class UserGroup implements EntityInterface, Stringable
125122
targetEntity: ApiKey::class,
126123
mappedBy: 'userGroups',
127124
)]
128-
#[ORM\JoinTable(
129-
name: 'api_key_has_user_group',
130-
)]
131125
#[Groups([
132126
'UserGroup.apiKeys',
133127
])]

0 commit comments

Comments
 (0)