mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
continue work - create loadfixtures
This commit is contained in:
@@ -9,4 +9,5 @@ Chill\MainBundle\Entity\Center:
|
||||
strategy: AUTO
|
||||
fields:
|
||||
name:
|
||||
type: json_array
|
||||
type: string
|
||||
length: 255
|
16
Resources/config/doctrine/PermissionGroup.orm.yml
Normal file
16
Resources/config/doctrine/PermissionGroup.orm.yml
Normal 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
|
||||
|
@@ -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
|
Reference in New Issue
Block a user