]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/config/doctrine/Author.orm.yml
Update config
[blogbundle] / Resources / config / doctrine / Author.orm.yml
1 Rapsys\BlogBundle\Entity\Author:
2 type: entity
3 repositoryClass: Rapsys\BlogBundle\Repository\AuthorRepository
4 table: authors
5 indexes:
6 name:
7 columns: [ name ]
8 id:
9 id:
10 type: smallint
11 generator:
12 strategy: AUTO
13 options:
14 unsigned: true
15 fields:
16 name:
17 type: string
18 length: 64
19 slug:
20 type: string
21 length: 64
22 unique: true
23 created:
24 type: datetime
25 updated:
26 type: datetime
27 oneToMany:
28 articles:
29 targetEntity: Rapsys\BlogBundle\Entity\Article
30 mappedBy: author
31 author_translations:
32 targetEntity: Rapsys\BlogBundle\Entity\AuthorTranslation
33 mappedBy: author