]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/UserTranslation.orm.yml
Set h3 style
[blogbundle] / Resources / config / doctrine / UserTranslation.orm.yml
1 Rapsys\BlogBundle\Entity\UserTranslation:
2 type: entity
3 #repositoryClass: Rapsys\BlogBundle\Repository\UserTranslationRepository
4 table: users_translations
5 id:
6 user_id:
7 type: integer
8 options:
9 unsigned: true
10 locale:
11 type: string
12 length: 5
13 fields:
14 description:
15 type: text
16 nullable: true
17 created:
18 type: datetime
19 updated:
20 type: datetime
21 manyToOne:
22 user:
23 targetEntity: Rapsys\BlogBundle\Entity\User
24 inversedBy: user_translations
25 joinColumn:
26 nullable: false
27 lifecycleCallbacks:
28 preUpdate: ['preUpdate']