mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-06 08:24:35 +02:00
Replaced the old migrations with one big cleaner one.
This commit is contained in:
parent
4026f6be3f
commit
de6df395f4
11 changed files with 296 additions and 774 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue