X-Git-Url: https://git.rapsys.eu/.gitweb.cgi/airbundle/blobdiff_plain/af8990a8d34a918fa399d345ccf7e4c370d8e2e9..b30faf659c060eeb3f3dfc1e57b20c697e279bb9:/Resources/config/doctrine/Application.orm.yml diff --git a/Resources/config/doctrine/Application.orm.yml b/Resources/config/doctrine/Application.orm.yml index aaf461f..e52cc6e 100644 --- a/Resources/config/doctrine/Application.orm.yml +++ b/Resources/config/doctrine/Application.orm.yml @@ -10,6 +10,12 @@ Rapsys\AirBundle\Entity\Application: options: unsigned: true fields: + score: + type: float + nullable: true + canceled: + type: datetime + nullable: true created: type: datetime updated: @@ -21,7 +27,13 @@ Rapsys\AirBundle\Entity\Application: user: targetEntity: Rapsys\AirBundle\Entity\User inversedBy: applications - oneToMany: - votes: - targetEntity: Rapsys\AirBundle\Entity\Vote - mappedBy: application +# oneToMany: +# votes: +# targetEntity: Rapsys\AirBundle\Entity\Vote +# mappedBy: application +# indexes: +# #XXX: used in SessionRepository::XXX +# id_user: +# columns: [ id, user_id ] +# id_user_canceled: +# columns: [ id, user_id, canceled ]