Remove vote feature
[airbundle] / Resources / config / doctrine / Application.orm.yml
1 Rapsys\AirBundle\Entity\Application:
2 type: entity
3 repositoryClass: Rapsys\AirBundle\Repository\ApplicationRepository
4 table: applications
5 id:
6 id:
7 type: integer
8 generator:
9 strategy: AUTO
10 options:
11 unsigned: true
12 fields:
13 score:
14 type: float
15 nullable: true
16 canceled:
17 type: datetime
18 nullable: true
19 created:
20 type: datetime
21 updated:
22 type: datetime
23 manyToOne:
24 session:
25 targetEntity: Rapsys\AirBundle\Entity\Session
26 inversedBy: applications
27 user:
28 targetEntity: Rapsys\AirBundle\Entity\User
29 inversedBy: applications
30 # oneToMany:
31 # votes:
32 # targetEntity: Rapsys\AirBundle\Entity\Vote
33 # mappedBy: application
34 # indexes:
35 # #XXX: used in SessionRepository::XXX
36 # id_user:
37 # columns: [ id, user_id ]
38 # id_user_canceled:
39 # columns: [ id, user_id, canceled ]