forked from mirror/Part-DB.Part-DB-server
Renamed devices table to projects to have the same name as the entities.
This commit is contained in:
parent
fb0c604edd
commit
79db46b8e6
4 changed files with 82 additions and 50 deletions
|
@ -37,7 +37,7 @@ use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
|||
/**
|
||||
* The ProjectBOMEntry class represents a entry in a project's BOM.
|
||||
*
|
||||
* @ORM\Table("device_parts")
|
||||
* @ORM\Table("project_bom_entries")
|
||||
* @ORM\HasLifecycleCallbacks()
|
||||
* @ORM\Entity()
|
||||
* @UniqueEntity(fields={"part", "project"}, message="project.bom_entry.part_already_in_bom")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue