You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i'm trying to add TimeStampableEntity trait to the user Entity in a new Symfony 7 project. After adding the trait i want to create a migration. But it fails with this message:
[Semantical Error] The class "Doctrine\ORM\Mapping\Column" is not annotated with @Annotation. Are you sure this class can be used as annotation? If so, then you need to add @Annotation to the _class_ doc comment of "Doctrine\ORM\Mapping\Column". If it is indeed no annotation, then you need to add @IgnoreAnnotation("ORM\Column") to the _class_ doc comment of property App\Entity\User::$createdAt.
What can i do to make it work?
The text was updated successfully, but these errors were encountered:
Hi,
i'm trying to add TimeStampableEntity trait to the user Entity in a new Symfony 7 project. After adding the trait i want to create a migration. But it fails with this message:
[Semantical Error] The class "Doctrine\ORM\Mapping\Column" is not annotated with @Annotation. Are you sure this class can be used as annotation? If so, then you need to add @Annotation to the _class_ doc comment of "Doctrine\ORM\Mapping\Column". If it is indeed no annotation, then you need to add @IgnoreAnnotation("ORM\Column") to the _class_ doc comment of property App\Entity\User::$createdAt.
What can i do to make it work?
The text was updated successfully, but these errors were encountered: