]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/Language.orm.yml
Add doctrine configuration
[blogbundle] / Resources / config / doctrine / Language.orm.yml
1 Rapsys\BlogBundle\Entity\Language:
2 type: entity
3 repositoryClass: Rapsys\BlogBundle\Repository\LanguageRepository
4 table: languages
5 indexes:
6 iso6391:
7 columns: [ iso6391 ]
8 iso6393:
9 columns: [ iso6393 ]
10 id:
11 id:
12 type: smallint
13 generator:
14 strategy: AUTO
15 options:
16 unsigned: true
17 fields:
18 iso6391:
19 type: string
20 length: 2
21 iso6393:
22 type: string
23 length: 3
24 created:
25 type: datetime
26 updated:
27 type: datetime
28 oneToMany:
29 article_translations:
30 targetEntity: Rapsys\BlogBundle\Entity\ArticleTranslation
31 mappedBy: language
32 keyword_translations:
33 targetEntity: Rapsys\BlogBundle\Entity\KeywordTranslation
34 mappedBy: language
35 site_translations:
36 targetEntity: Rapsys\BlogBundle\Entity\SiteTranslation
37 mappedBy: language
38 language_translations:
39 targetEntity: Rapsys\BlogBundle\Entity\LanguageTranslation
40 mappedBy: language
41 target_translations:
42 targetEntity: Rapsys\BlogBundle\Entity\LanguageTranslation
43 mappedBy: target