Browse Source

fix Person entity roles definition

Olivier Massot 2 years ago
parent
commit
55b684effe
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/Entity/Person/Person.php

+ 0 - 1
src/Entity/Person/Person.php

@@ -46,7 +46,6 @@ class Person implements UserInterface, PasswordAuthenticatedUserInterface
     private ?string $username = null;
     private ?string $username = null;
 
 
     /** @var string[]|null  */
     /** @var string[]|null  */
-    #[ORM\Column(type: 'json', nullable: true)]
     private ?array $roles = [];
     private ?array $roles = [];
 
 
     #[ORM\Column(nullable: true)]
     #[ORM\Column(nullable: true)]