Rapsys Git
/
airbundle
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add fetchAllByDatePeriod function
[airbundle]
/
Resources
/
config
/
doctrine
/
Application.orm.yml
diff --git
a/Resources/config/doctrine/Application.orm.yml
b/Resources/config/doctrine/Application.orm.yml
index aaf461f3fe60d114c0fddac60d551140dec4b57a..e52cc6ea3926752c8f386148d13b97e673e2e3e4 100644
(file)
--- 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:
options:
unsigned: true
fields:
+ score:
+ type: float
+ nullable: true
+ canceled:
+ type: datetime
+ nullable: true
created:
type: datetime
updated:
created:
type: datetime
updated:
@@
-21,7
+27,13
@@
Rapsys\AirBundle\Entity\Application:
user:
targetEntity: Rapsys\AirBundle\Entity\User
inversedBy: applications
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 ]