continue work - create loadfixtures

This commit is contained in:
2014-10-27 09:08:23 +01:00
parent 445daecfc0
commit ec3e08ff79
14 changed files with 613 additions and 68 deletions

View File

@@ -9,4 +9,5 @@ Chill\MainBundle\Entity\Center:
strategy: AUTO
fields:
name:
type: json_array
type: string
length: 255

View File

@@ -0,0 +1,16 @@
Chill\MainBundle\Entity\PermissionGroup:
type: entity
table: permission_groups
id:
id:
type: integer
id: true
generator:
strategy: AUTO
fields:
name:
type: json_array
manyToMany:
roleScopes:
targetEntity: Chill\MainBundle\Entity\RoleScope

View File

@@ -10,7 +10,7 @@ Chill\MainBundle\Entity\Scope:
fields:
name:
type: json_array
manyToOne:
oneToMany:
roleScopes:
targetEntity: Chill\MainBundle\Entity\RoleScope
inversedBy: scope
mappedBy: scope