]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/KeywordTranslation.orm.yml
Remove unused templates
[blogbundle] / Resources / config / doctrine / KeywordTranslation.orm.yml
1 Rapsys\BlogBundle\Entity\KeywordTranslation:
2 type: entity
3 repositoryClass: Rapsys\BlogBundle\Repository\KeywordTranslationRepository
4 table: keywords_translations
5 id:
6 keyword_id:
7 type: integer
8 options:
9 unsigned: true
10 language_id:
11 type: smallint
12 options:
13 unsigned: true
14 fields:
15 slug:
16 type: string
17 length: 128
18 title:
19 type: string
20 length: 128
21 description:
22 type: text
23 created:
24 type: datetime
25 updated:
26 type: datetime
27 manyToOne:
28 keyword:
29 targetEntity: Rapsys\BlogBundle\Entity\Keyword
30 inversedBy: keyword_translations
31 language:
32 targetEntity: Rapsys\BlogBundle\Entity\Language
33 inversedBy: keyword_translations
34 uniqueConstraints:
35 slug_language:
36 columns: [ slug, language_id ]