]> Raphaƫl G. Git Repositories - airbundle/blobdiff - Resources/config/doctrine/Civility.orm.yml
Optionalize all fields
[airbundle] / Resources / config / doctrine / Civility.orm.yml
index 481707d570f91cb8ecf074e90dfdf71e6ed5a953..ca77014307176311d730306de011b4ea902734e4 100644 (file)
@@ -1,12 +1,8 @@
-Rapsys\AirBundle\Entity\Title:
+Rapsys\AirBundle\Entity\Civility:
     type: entity
     type: entity
-    #repositoryClass: Rapsys\AirBundle\Repository\TitleRepository
-    table: titles
-    fields:
-        short:
-            type: string
-            length: 16
+    #repositoryClass: Rapsys\AirBundle\Repository\CivilityRepository
+    table: civilities
     oneToMany:
         users:
             targetEntity: User
     oneToMany:
         users:
             targetEntity: User
-            mappedBy: title
+            mappedBy: civility