Replaced the old migrations with one big cleaner one.

This commit is contained in:
Jan Böhmer 2019-09-02 16:34:53 +02:00
parent 4026f6be3f
commit de6df395f4
11 changed files with 296 additions and 774 deletions

View file

@ -92,7 +92,7 @@ class Part extends AttachmentContainingDBElement
/**
* @var Category
* @ORM\ManyToOne(targetEntity="Category", inversedBy="parts")
* @ORM\JoinColumn(name="id_category", referencedColumnName="id")
* @ORM\JoinColumn(name="id_category", referencedColumnName="id", nullable=false)
* @Selectable()
*/
protected $category;