File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public static function buildWithDefaultAnnotations(array $additionalAnnotations)
43
43
'ProtectedGetter ' => ProtectedGetter::class,
44
44
'ProtectedSetter ' => ProtectedSetter::class,
45
45
'ProtectedOneToMany ' => ProtectedOneToMany::class,
46
- 'Generated ' => ReadOnly::class,
46
+ 'ReadOnly ' => ReadOnly::class,
47
47
'JsonKey ' => JsonKey::class,
48
48
'JsonIgnore ' => JsonIgnore::class,
49
49
'JsonInclude ' => JsonInclude::class,
Original file line number Diff line number Diff line change @@ -421,8 +421,8 @@ private static function initSchema(Connection $connection): void
421
421
$ connection ->exec ('CREATE TABLE `players` (
422
422
`id` INT UNSIGNED AUTO_INCREMENT NOT NULL,
423
423
`player_and_games` JSON NOT NULL,
424
- `names_virtual` VARCHAR(20) GENERATED ALWAYS AS (`player_and_games` ->> \'$.name \') NOT NULL COMMENT \'@Generated \',
425
- `animal_id` INT COMMENT \'@Generated \',
424
+ `names_virtual` VARCHAR(20) GENERATED ALWAYS AS (`player_and_games` ->> \'$.name \') NOT NULL COMMENT \'@ReadOnly \',
425
+ `animal_id` INT COMMENT \'@ReadOnly \',
426
426
PRIMARY KEY (`id`),
427
427
FOREIGN KEY (animal_id) REFERENCES animal(id)
428
428
);
You can’t perform that action at this time.
0 commit comments