Adding MaritalStatus in db

This commit is contained in:
Marc Ducobu
2015-08-12 15:52:17 +02:00
parent 31e734f2c7
commit 3f9f58030c
7 changed files with 272 additions and 16 deletions

View File

@@ -0,0 +1,11 @@
Chill\PersonBundle\Entity\MaritalStatus:
table: marital_status
type: entity
id:
id:
type: string
length: 7
fields:
name:
type: json_array
lifecycleCallbacks: { }

View File

@@ -53,6 +53,8 @@ Chill\PersonBundle\Entity\Person:
center:
targetEntity: Chill\MainBundle\Entity\Center
nullable: false
maritalStatus:
targetEntity: Chill\PersonBundle\Entity\maritalStatus
oneToMany:
accompanyingPeriods:
targetEntity: AccompanyingPeriod