diff --git a/Resources/config/doctrine/Country.orm.yml b/Resources/config/doctrine/Country.orm.yml index 2e7f7ee37..6956d5545 100644 --- a/Resources/config/doctrine/Country.orm.yml +++ b/Resources/config/doctrine/Country.orm.yml @@ -1,6 +1,9 @@ Chill\MainBundle\Entity\Country: type: entity table: null + cache: + usage: READ_ONLY + region: country_cache_region fields: id: type: integer diff --git a/Resources/config/doctrine/GroupCenter.orm.yml b/Resources/config/doctrine/GroupCenter.orm.yml index 97ed5978b..13b56067d 100644 --- a/Resources/config/doctrine/GroupCenter.orm.yml +++ b/Resources/config/doctrine/GroupCenter.orm.yml @@ -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 \ No newline at end of file + targetEntity: Chill\MainBundle\Entity\PermissionsGroup + cache: + usage: NONSTRICT_READ_WRITE \ No newline at end of file diff --git a/Resources/config/doctrine/Language.orm.yml b/Resources/config/doctrine/Language.orm.yml index 9112a780a..616bb9564 100644 --- a/Resources/config/doctrine/Language.orm.yml +++ b/Resources/config/doctrine/Language.orm.yml @@ -1,6 +1,9 @@ Chill\MainBundle\Entity\Language: type: entity table: null + cache: + usage: READ_ONLY + region: language_cache_region id: id: type: string diff --git a/Resources/config/doctrine/PermissionsGroup.orm.yml b/Resources/config/doctrine/PermissionsGroup.orm.yml index c0ebe69fc..100c2c17e 100644 --- a/Resources/config/doctrine/PermissionsGroup.orm.yml +++ b/Resources/config/doctrine/PermissionsGroup.orm.yml @@ -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 \ No newline at end of file diff --git a/Resources/config/doctrine/RoleScope.orm.yml b/Resources/config/doctrine/RoleScope.orm.yml index aa308753b..983db8712 100644 --- a/Resources/config/doctrine/RoleScope.orm.yml +++ b/Resources/config/doctrine/RoleScope.orm.yml @@ -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 \ No newline at end of file + nullable: true + cache: + usage: NONSTRICT_READ_WRITE + \ No newline at end of file diff --git a/Resources/config/doctrine/Scope.orm.yml b/Resources/config/doctrine/Scope.orm.yml index 188d8c307..df2fdd663 100644 --- a/Resources/config/doctrine/Scope.orm.yml +++ b/Resources/config/doctrine/Scope.orm.yml @@ -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 \ No newline at end of file + mappedBy: scope + cache: + usage: NONSTRICT_READ_WRITE \ No newline at end of file diff --git a/Resources/config/doctrine/User.orm.yml b/Resources/config/doctrine/User.orm.yml index 924b85ac1..acb9b6b50 100644 --- a/Resources/config/doctrine/User.orm.yml +++ b/Resources/config/doctrine/User.orm.yml @@ -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