Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
nguereza-tony committed Dec 5, 2023
1 parent ef6a2be commit 4521e5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Auth/Entity/Permission.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,7 @@ public static function mapEntity(EntityMapperInterface $mapper): void
'created_at' => 'date',
'updated_at' => '?date',
]);

$mapper->relation('roles')->shareMany(Role::class);
}
}

0 comments on commit 4521e5f

Please sign in to comment.