Properly handle json_array type removal

The `json_array` type was removed from DBAL v3, we should handle it using a migration to avoid error.
I've also added the remove type because we need it during migration.
This commit is contained in:
Jeremy Benoist
2022-12-21 10:57:38 +01:00
parent c9edd15bc5
commit cdd2185063
6 changed files with 114 additions and 4 deletions

View File

@ -128,6 +128,8 @@ class User extends BaseUser implements EmailTwoFactorInterface, GoogleTwoFactorI
private $googleAuthenticatorSecret;
/**
* @var array
*
* @ORM\Column(type="json", nullable=true)
*/
private $backupCodes;