add foreign key from report to scope

This commit is contained in:
2015-06-22 23:45:59 +02:00
parent 1c3c3b14ab
commit eb066b86aa
3 changed files with 58 additions and 8 deletions

View File

@@ -10,10 +10,6 @@ Chill\ReportBundle\Entity\Report:
fields:
date:
type: datetime
scope:
type: string
length: 255
nullable: true # TO REMOVE IF SCOPE IS USED
cFData:
type: json_array
manyToOne:
@@ -21,6 +17,8 @@ Chill\ReportBundle\Entity\Report:
targetEntity: Chill\MainBundle\Entity\User
person:
targetEntity: Chill\PersonBundle\Entity\Person
scope:
targetEntity: Chill\MainBundle\Entity\Scope
cFGroup:
targetEntity: Chill\CustomFieldsBundle\Entity\CustomFieldsGroup
lifecycleCallbacks: { }