We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
doctrine/dbal
1 parent fd0094d commit 22df1e8Copy full SHA for 22df1e8
Tests/Fixtures/SingleAssociationToIntIdEntity.php
@@ -14,13 +14,15 @@
14
use Doctrine\ORM\Mapping\Column;
15
use Doctrine\ORM\Mapping\Entity;
16
use Doctrine\ORM\Mapping\Id;
17
+use Doctrine\ORM\Mapping\JoinColumn;
18
use Doctrine\ORM\Mapping\OneToOne;
19
20
#[Entity]
21
class SingleAssociationToIntIdEntity
22
{
23
public function __construct(
24
#[Id, OneToOne(cascade: ['ALL'])]
25
+ #[JoinColumn(nullable: false)]
26
protected SingleIntIdNoToStringEntity $entity,
27
28
#[Column(nullable: true)]
0 commit comments