mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
allow cache for the most used entities
This commit is contained in:
parent
c8077ac575
commit
53fef9b083
@ -1,6 +1,9 @@
|
||||
Chill\MainBundle\Entity\Country:
|
||||
type: entity
|
||||
table: null
|
||||
cache:
|
||||
usage: READ_ONLY
|
||||
region: country_cache_region
|
||||
fields:
|
||||
id:
|
||||
type: integer
|
||||
|
@ -1,6 +1,9 @@
|
||||
Chill\MainBundle\Entity\GroupCenter:
|
||||
type: entity
|
||||
table: group_centers
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
region: acl_cache_region
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
@ -11,5 +14,9 @@ Chill\MainBundle\Entity\GroupCenter:
|
||||
center:
|
||||
targetEntity: Chill\MainBundle\Entity\Center
|
||||
inversedBy: groupCenters
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
permissionsGroup:
|
||||
targetEntity: Chill\MainBundle\Entity\PermissionsGroup
|
||||
targetEntity: Chill\MainBundle\Entity\PermissionsGroup
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
@ -1,6 +1,9 @@
|
||||
Chill\MainBundle\Entity\Language:
|
||||
type: entity
|
||||
table: null
|
||||
cache:
|
||||
usage: READ_ONLY
|
||||
region: language_cache_region
|
||||
id:
|
||||
id:
|
||||
type: string
|
||||
|
@ -1,6 +1,9 @@
|
||||
Chill\MainBundle\Entity\PermissionsGroup:
|
||||
type: entity
|
||||
table: permission_groups
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
region: acl_cache_region
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
@ -14,4 +17,6 @@ Chill\MainBundle\Entity\PermissionsGroup:
|
||||
manyToMany:
|
||||
roleScopes:
|
||||
targetEntity: Chill\MainBundle\Entity\RoleScope
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
|
@ -1,6 +1,9 @@
|
||||
Chill\MainBundle\Entity\RoleScope:
|
||||
type: entity
|
||||
table: role_scopes
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
region: acl_cache_region
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
@ -15,4 +18,7 @@ Chill\MainBundle\Entity\RoleScope:
|
||||
scope:
|
||||
targetEntity: Chill\MainBundle\Entity\Scope
|
||||
inversedBy: roleScopes
|
||||
nullable: true
|
||||
nullable: true
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
|
@ -1,6 +1,9 @@
|
||||
Chill\MainBundle\Entity\Scope:
|
||||
type: entity
|
||||
table: scopes
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
region: acl_cache_region
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
@ -13,4 +16,6 @@ Chill\MainBundle\Entity\Scope:
|
||||
oneToMany:
|
||||
roleScopes:
|
||||
targetEntity: Chill\MainBundle\Entity\RoleScope
|
||||
mappedBy: scope
|
||||
mappedBy: scope
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
@ -1,6 +1,9 @@
|
||||
Chill\MainBundle\Entity\User:
|
||||
type: entity
|
||||
table: users
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
region: acl_cache_region
|
||||
id:
|
||||
id:
|
||||
type: integer
|
||||
@ -27,5 +30,7 @@ Chill\MainBundle\Entity\User:
|
||||
manyToMany:
|
||||
groupCenters:
|
||||
targetEntity: Chill\MainBundle\Entity\GroupCenter
|
||||
cache:
|
||||
usage: NONSTRICT_READ_WRITE
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user