Commit ba5a8d3c authored by Адлан Шамавов's avatar Адлан Шамавов
Browse files

Merge branch 'STA-965' into STA-966

parents 7c33b364 2e6c717d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ use Symfony\Component\Uid\Uuid;
class File
{
    #[ORM\Id]
    #[ORM\GeneratedValue]
    #[ORM\Column(type: 'uuid', unique: true)]
    private ?Uuid $id = null;

+3 −2
Original line number Diff line number Diff line
@@ -4,14 +4,15 @@ namespace App\Entity;

use App\Repository\GalleryRepository;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Uid\Uuid;

#[ORM\Entity(repositoryClass: GalleryRepository::class)]
class Gallery
{
    #[ORM\Id]
    #[ORM\GeneratedValue]
    #[ORM\Column]
    private ?int $id = null;
    #[ORM\Column(type: 'uuid', unique: true)]
    private ?Uuid $id = null;

    #[ORM\ManyToOne(inversedBy: 'galleries')]
    #[ORM\JoinColumn(nullable: false)]
+1 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@ use Symfony\Component\Uid\Uuid;
class Kitchen
{
    #[ORM\Id]
    #[ORM\GeneratedValue]
    #[ORM\Column(type: 'uuid', unique: true)]
    private ?Uuid $id = null;

+1 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@ use Symfony\Component\Uid\Uuid;
class News
{
    #[ORM\Id]
    #[ORM\GeneratedValue]
    #[ORM\Column(type: 'uuid', unique: true)]
    private ?Uuid $id = null;

+1 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@ use Symfony\Component\Uid\Uuid;
class NewsCategory
{
    #[ORM\Id]
    #[ORM\GeneratedValue]
    #[ORM\Column(type: 'uuid', unique: true)]
    private ?Uuid $id = null;

Loading