Skip to content

Commit

Permalink
fix: date entity
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris8934 committed Nov 18, 2023
1 parent 118896a commit 7b926c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Entities/Date.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
final class Date
{
#[ORM\Id]
#[ORM\Column(type: 'string')]
#[ORM\Column]
#[ORM\GeneratedValue]
public string $id;

#[ORM\Column(type: 'DateTime')]
#[ORM\Column]
public \DateTime $created;
}

0 comments on commit 7b926c0

Please sign in to comment.