Fixed new permission migration for SQLite

This commit is contained in:
Jan Böhmer 2022-11-14 23:21:49 +01:00
parent aabe3876a7
commit 1c12174cd9
2 changed files with 39 additions and 2 deletions

View file

@ -25,7 +25,7 @@ final class PermissionData implements \JsonSerializable
* permission => [
* operation => value,
* ]
* @ORM\Column(type="json", name="data")
* @ORM\Column(type="json", name="data", options={"default": "[]"})
*/
protected ?array $data = [];