79188512

Date: 2024-11-14 11:21:09
Score: 2
Natty:
Report link

To fix this, you have to set a type for an id column:

    #[ORM\Id]
    #[ORM\GeneratedValue(strategy: "AUTO")]
    #[ORM\Column(type: 'integer')]
    protected $id = null;

Create new migration, execute and after execution you should notice a new sequence in postgresql database sequences.

Cheers.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Szymon D.