]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/config/doctrine/Country.orm.yml
Add missing font to prevent generation failure
[airbundle] / Resources / config / doctrine / Country.orm.yml
1 Rapsys\AirBundle\Entity\Country:
2 type: entity
3 #repositoryClass: Rapsys\AirBundle\Repository\CountryRepository
4 table: countries
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 code:
14 type: string
15 length: 2
16 nullable: false
17 alpha:
18 type: string
19 length: 3
20 nullable: false
21 title:
22 type: string
23 length: 64
24 nullable: false
25 created:
26 type: datetime
27 updated:
28 type: datetime
29 oneToMany:
30 users:
31 targetEntity: Rapsys\AirBundle\Entity\User
32 mappedBy: country
33 uniqueConstraints:
34 code:
35 columns: [ code ]
36 alpha:
37 columns: [ alpha ]
38 lifecycleCallbacks:
39 preUpdate: ['preUpdate']