Quantcast
Channel: Symfony Doctrine fails to create foreign key - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Akim for Symfony Doctrine fails to create foreign key

Add to Ordertaxi this code@JoinColumn(name="customOrder_id", referencedColumnName="id")

View Article


Symfony Doctrine fails to create foreign key

Fields in table Ordertaxi:@ORM\Column(name="custom_id", type="integer", options={"unsigned"=true})private $customId;// new "column", which i want to add@ORM\OneToOne(targetEntity="CustomOrder")private...

View Article
Browsing all 2 articles
Browse latest View live