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