diff --git a/.gitignore b/.gitignore index 844c325..21c50bf 100644 --- a/.gitignore +++ b/.gitignore @@ -28,4 +28,7 @@ yarn.lock /assets/vendor/ ###< symfony/asset-mapper ### -/php: \ No newline at end of file +/php: + +.cursorignore +.env \ No newline at end of file diff --git a/src/Entity/Article.php b/src/Entity/Article.php index 675d15f..3f37913 100644 --- a/src/Entity/Article.php +++ b/src/Entity/Article.php @@ -61,7 +61,7 @@ class Article private ?string $content = null; #[Groups(['article:read'])] - #[ORM\Column(name: 'update_at', type: Types::DATETIME_MUTABLE, nullable: true)] + #[ORM\Column(name: 'update_at', type: Types::DATETIME_IMMUTABLE, nullable: true)] private ?\DateTimeInterface $updateAt = null; public function getId(): ?int diff --git a/src/Entity/Disease.php b/src/Entity/Disease.php index 1851e00..3a33ac3 100644 --- a/src/Entity/Disease.php +++ b/src/Entity/Disease.php @@ -48,7 +48,7 @@ class Disease private ?string $anons = null; #[Groups(['disease:read'])] - #[ORM\Column(name: 'update_at', type: Types::DATETIME_MUTABLE, nullable: true)] + #[ORM\Column(name: 'update_at', type: Types::DATETIME_IMMUTABLE, nullable: true)] private ?\DateTimeInterface $updateAt = null; #[Groups(['disease:read', 'disease:write'])] diff --git a/src/Entity/MedicalCenter.php b/src/Entity/MedicalCenter.php index 6e01ced..c3411cf 100644 --- a/src/Entity/MedicalCenter.php +++ b/src/Entity/MedicalCenter.php @@ -45,7 +45,7 @@ class MedicalCenter #[Groups(['medical_center:read', 'medical_center:write'])] private ?string $content = null; - #[ORM\Column(name: 'update_at', type: Types::DATETIME_MUTABLE, nullable: true)] + #[ORM\Column(name: 'update_at', type: Types::DATETIME_IMMUTABLE, nullable: true)] #[Groups(['medical_center:read'])] private ?\DateTimeInterface $updateAt = null; diff --git a/src/Entity/News.php b/src/Entity/News.php index f91922a..afd8194 100644 --- a/src/Entity/News.php +++ b/src/Entity/News.php @@ -47,7 +47,7 @@ class News #[Groups(['news:read', 'news:write'])] private ?string $content = null; - #[ORM\Column(name: 'update_at', type: Types::DATETIME_MUTABLE, nullable: true)] + #[ORM\Column(name: 'update_at', type: Types::DATETIME_IMMUTABLE, nullable: true)] #[Groups(['news:read'])] private ?\DateTimeInterface $updateAt = null; diff --git a/src/Entity/Promo.php b/src/Entity/Promo.php index 63076f0..e612da9 100644 --- a/src/Entity/Promo.php +++ b/src/Entity/Promo.php @@ -47,7 +47,7 @@ class Promo #[Groups(['promo:read', 'promo:write'])] private ?string $content = null; - #[ORM\Column(name: 'update_at', type: Types::DATETIME_MUTABLE, nullable: true)] + #[ORM\Column(name: 'update_at', type: Types::DATETIME_IMMUTABLE, nullable: true)] #[Groups(['promo:read'])] private ?\DateTimeInterface $updateAt = null; diff --git a/src/Entity/SiteService.php b/src/Entity/SiteService.php index 9691651..b67737f 100644 --- a/src/Entity/SiteService.php +++ b/src/Entity/SiteService.php @@ -47,7 +47,7 @@ class SiteService #[Groups(['site_service:read', 'site_service:write'])] private ?string $content = null; - #[ORM\Column(name: 'update_at', type: Types::DATETIME_MUTABLE, nullable: true)] + #[ORM\Column(name: 'update_at', type: Types::DATETIME_IMMUTABLE, nullable: true)] #[Groups(['site_service:read'])] private ?\DateTimeInterface $updateAt = null;