mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
Apply rector rules: add annotation for doctrine mapping
This commit is contained in:
@@ -20,7 +20,6 @@ use Ramsey\Uuid\Uuid;
|
||||
use Ramsey\Uuid\UuidInterface;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
|
||||
#[ORM\Entity]
|
||||
#[ORM\Table(name: 'chill_main_saved_export')]
|
||||
class SavedExport implements TrackCreationInterface, TrackUpdateInterface
|
||||
@@ -36,9 +35,8 @@ class SavedExport implements TrackCreationInterface, TrackUpdateInterface
|
||||
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::TEXT, nullable: false, options: ['default' => ''])]
|
||||
private string $exportAlias;
|
||||
|
||||
|
||||
#[ORM\Id]
|
||||
#[ORM\Column(name: 'id', type: 'uuid', unique: 'true')]
|
||||
#[ORM\Column(name: 'id', type: 'uuid', unique: true)]
|
||||
#[ORM\GeneratedValue(strategy: 'NONE')]
|
||||
private UuidInterface $id;
|
||||
|
||||
|
Reference in New Issue
Block a user