Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit b22e816

Browse files
committed
fix(entity): Set default value for Schema::id
1 parent b6e71d5 commit b22e816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Entity/Schema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class Schema
1919

2020
#[ORM\Id]
2121
#[ORM\Column(type: Types::STRING, length: 255)]
22-
private string $id;
22+
private string $id = '';
2323

2424
#[ORM\Column(type: Types::TEXT, nullable: true)]
2525
private ?string $picture = null;

0 commit comments

Comments
 (0)